mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix cmake for libssh2 1.7 and later
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
09532d0463
commit
1a54e42f3d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ else()
|
|||
include_directories(${LIBGIT2_INCLUDE_DIR})
|
||||
if(FORCE_LIBSSH)
|
||||
find_package(Libssh2 QUIET CONFIG)
|
||||
if ("${LIBSSH2_VERSION}" STRGREATER "1.6.1")
|
||||
if ("${LIBSSH2_VERSION}" STRLESS "1.7" AND "${LIBSSH2_VERSION}" STRGREATER "1.6.1")
|
||||
set(LIBSSH2_LIBRARIES Libssh2::libssh2)
|
||||
endif()
|
||||
# at least on my Mac I get the mixed case variable instead...
|
||||
|
|
Loading…
Reference in a new issue