Skip to content

Commit 8b31f52

Browse files
committed
CMakelist check full version string
1 parent b3914fe commit 8b31f52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ endif()
189189
if(ENABLE_SSH)
190190
find_package(LibSSH 0.7.0 REQUIRED)
191191
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNC_ENABLED_SSH")
192-
if(LibSSH_PACKAGE_FIND_VERSION_MINOR LESS 8)
192+
if(LibSSH_PACKAGE_FIND_VERSION LESS 0.8.0)
193193
target_link_libraries(netconf2 "-L${LIBSSH_LIBRARY_DIR}" -lssh -lssh_threads -lcrypt)
194194
else()
195195
target_link_libraries(netconf2 "-L${LIBSSH_LIBRARY_DIR}" -lssh -lcrypt)

0 commit comments

Comments
 (0)