diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2023-12-25 04:49:57 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2023-12-25 04:49:57 +0300 |
commit | f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03 (patch) | |
tree | 57a666338a3cdd0934492401777262816dbd3c61 /ConfigureChecks.cmake | |
parent | ecd60bc6a5f5181bb5013bea114fae5d8efaab47 (diff) | |
download | tdebase-f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03.tar.gz tdebase-f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03.zip |
Make dependency upon libssh optional
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
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" ) |