We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73bbfab commit 1436092Copy full SHA for 1436092
1 file changed
CMakeLists.txt
@@ -213,6 +213,10 @@ endif()
213
if(ENABLE_SSH)
214
find_package(LibSSH 0.7.0 REQUIRED)
215
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNC_ENABLED_SSH")
216
+ message(STATUS "LibSSH version ${LibSSH_VERSION} found")
217
+ if(LibSSH_VERSION VERSION_EQUAL 0.9.3)
218
+ message(FATAL_ERROR "LibSSH 0.9.3 includes regression bugs and libnetconf2 will NOT work properly, try to use an older version")
219
+ endif()
220
if(LibSSH_VERSION VERSION_LESS 0.8.0)
221
target_link_libraries(netconf2 "-L${LIBSSH_LIBRARY_DIR}" -lssh -lssh_threads -lcrypt)
222
else()
0 commit comments