|
@ -1,16 +1,11 @@ |
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
|
|
index f21fec9..5b912af 100644
|
|
|
|
|
|
--- a/CMakeLists.txt
|
|
|
--- a/CMakeLists.txt
|
|
|
+++ b/CMakeLists.txt
|
|
|
+++ b/CMakeLists.txt
|
|
|
@@ -148,7 +148,7 @@ endif()
|
|
|
|
|
|
|
|
|
@@ -180,7 +180,7 @@ endif()
|
|
|
# dependencies - libssh |
|
|
# dependencies - libssh |
|
|
if(ENABLE_SSH) |
|
|
if(ENABLE_SSH) |
|
|
find_package(LibSSH 0.7.0 REQUIRED) |
|
|
|
|
|
|
|
|
find_package(LibSSH 0.7.1 REQUIRED) |
|
|
- if(LIBSSH_VERSION VERSION_EQUAL 0.9.3 OR LIBSSH_VERSION VERSION_EQUAL 0.9.4)
|
|
|
- if(LIBSSH_VERSION VERSION_EQUAL 0.9.3 OR LIBSSH_VERSION VERSION_EQUAL 0.9.4)
|
|
|
+ if(LIBSSH_VERSION VERSION_EQUAL 0.9.x)
|
|
|
+ if(LIBSSH_VERSION VERSION_EQUAL 0.9.x)
|
|
|
message(FATAL_ERROR "LibSSH ${LIBSSH_VERSION} includes regression bugs and libnetconf2 will NOT work properly, try to use another version") |
|
|
message(FATAL_ERROR "LibSSH ${LIBSSH_VERSION} includes regression bugs and libnetconf2 will NOT work properly, try to use another version") |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
2.26.2 |
|
|
|
|
|
|
|
|
|