summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2023-12-25 04:49:57 +0300
committerAlexander Golubev <[email protected]>2023-12-25 04:49:57 +0300
commitf2dbf5b9035e9a4861b7d0ad348f4f86c4caba03 (patch)
tree57a666338a3cdd0934492401777262816dbd3c61 /ConfigureChecks.cmake
parentecd60bc6a5f5181bb5013bea114fae5d8efaab47 (diff)
downloadtdebase-f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03.tar.gz
tdebase-f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03.zip
Make dependency upon libssh optional
Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 2a470eeb8..ea441f447 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -100,7 +100,7 @@ if( BUILD_KSMSERVER OR BUILD_KSPLASHML OR BUILD_TDEIOSLAVES )
endif( )
# libssh (tdeioslave/sftp)
-if( BUILD_TDEIOSLAVES )
+if( BUILD_TDEIOSLAVES AND WITH_SFTP )
pkg_search_module( LIBSSH libssh )
if( NOT LIBSSH_FOUND )
tde_message_fatal( "LibSSH is required, but was not found on your system" )