disabled some libssh options
This commit is contained in:
parent
efcd291e65
commit
1401fcd97d
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ if(WIN32)
|
|||
else()
|
||||
set(ZLIB_LIBRARY z)
|
||||
endif()
|
||||
set(LIBS ${LIBS} ${ZLIB_LIBRARY})
|
||||
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/3rd/zlib" "${CMAKE_CURRENT_BINARY_DIR}/3rd/zlib")
|
||||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/3rd/zlib)
|
||||
|
||||
|
@ -89,6 +90,7 @@ if(NOT LINUX)
|
|||
DESTINATION ${OPENSSL_ROOT_DIR})
|
||||
endif()
|
||||
|
||||
set(WITH_EXAMPLES OFF)
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/3rd/libssh)
|
||||
add_compile_definitions(_WINSOCKAPI_)
|
||||
set(LIBS ${LIBS} ssh)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue