File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,6 @@ if(ENABLE_TLS OR ENABLE_DNSSEC OR ENABLE_SSH)
216216 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNC_ENABLED_TLS" )
217217 endif ()
218218
219- #TODO target_link_libraries(netconf2 PUBLIC OpenSSL::SSL OpenSSL::Crypto)
220219 target_link_libraries (netconf2 ${OPENSSL_LIBRARIES} )
221220 include_directories (${OPENSSL_INCLUDE_DIR} )
222221endif ()
@@ -227,8 +226,8 @@ if(ENABLE_SSH)
227226 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNC_ENABLED_SSH" )
228227 message (STATUS "LibSSH version ${LibSSH_VERSION} found" )
229228
230- if (LibSSH_VERSION VERSION_EQUAL 0.9.3)
231- message (FATAL_ERROR "LibSSH 0.9.3 includes regression bugs and libnetconf2 will NOT work properly, try to use another version" )
229+ if (LibSSH_VERSION VERSION_EQUAL 0.9.3 OR LibSSH_VERSION VERSION_EQUAL 0.9.4 )
230+ message (FATAL_ERROR "LibSSH ${LibSSH_VERSION} includes regression bugs and libnetconf2 will NOT work properly, try to use another version" )
232231 endif ()
233232
234233 if (LibSSH_VERSION VERSION_LESS 0.8.0)
You can’t perform that action at this time.
0 commit comments