summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindSSH.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindSSH.cmake')
-rw-r--r--cmake/modules/FindSSH.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindSSH.cmake b/cmake/modules/FindSSH.cmake
index 538c699..ee65210 100644
--- a/cmake/modules/FindSSH.cmake
+++ b/cmake/modules/FindSSH.cmake
@@ -33,14 +33,14 @@ find_package_handle_standard_args(SSH
33if(SSH_FOUND) 33if(SSH_FOUND)
34 set(SSH_LIBRARIES ${SSH_LIBRARY}) 34 set(SSH_LIBRARIES ${SSH_LIBRARY})
35 set(SSH_INCLUDE_DIRS ${SSH_INCLUDE_DIR}) 35 set(SSH_INCLUDE_DIRS ${SSH_INCLUDE_DIR})
36 set(SSH_DEFINITIONS -DHAVE_LIBSSH=1) 36 set(SSH_DEFINITIONS -DHAS_FILESYSTEM_SFTP=1)
37 37
38 if(NOT TARGET SSH::SSH) 38 if(NOT TARGET SSH::SSH)
39 add_library(SSH::SSH UNKNOWN IMPORTED) 39 add_library(SSH::SSH UNKNOWN IMPORTED)
40 set_target_properties(SSH::SSH PROPERTIES 40 set_target_properties(SSH::SSH PROPERTIES
41 IMPORTED_LOCATION "${SSH_LIBRARY}" 41 IMPORTED_LOCATION "${SSH_LIBRARY}"
42 INTERFACE_INCLUDE_DIRECTORIES "${SSH_INCLUDE_DIR}" 42 INTERFACE_INCLUDE_DIRECTORIES "${SSH_INCLUDE_DIR}"
43 INTERFACE_COMPILE_DEFINITIONS HAVE_LIBSSH=1) 43 INTERFACE_COMPILE_DEFINITIONS HAS_FILESYSTEM_SFTP=1)
44 endif() 44 endif()
45endif() 45endif()
46 46