Fix libssh2 build

This commit is contained in:
Stefan Knotzer 2022-10-29 16:32:00 +02:00
parent b663589ddc
commit 3bd11b01a4

View File

@ -4,8 +4,6 @@ if(USE_SYSTEM_LIBSSH2)
endif()
else()
add_subdirectory(libssh2)
set(BUILD_EXAMPLES
OFF
CACHE BOOL "" FORCE)
@ -13,6 +11,8 @@ else()
OFF
CACHE BOOL "" FORCE)
add_subdirectory(libssh2)
set(LIBSSH2_FOUND
TRUE
PARENT_SCOPE)