mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Cmake: remove debug code that accidentially slipped in
And try to fix the upper case / mixed case confusion that we apparently have with libssh2 - oh how I hate this stuff. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a26eda9700
commit
b5905f3ab7
1 changed files with 1 additions and 6 deletions
|
@ -102,15 +102,10 @@ else()
|
|||
include_directories(${LIBGIT2_INCLUDE_DIR})
|
||||
if(FORCE_LIBSSH)
|
||||
find_package(Libssh2 QUIET CONFIG)
|
||||
find_package(Libssh2 REQUIRED)
|
||||
if ("${LIBSSH2_VERSION}" STRGREATER "1.6.1")
|
||||
set(LIBSSH2_LIBRARIES Libssh2::libssh2)
|
||||
endif()
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
foreach (_variableName ${_variableNames})
|
||||
message(STATUS "${_variableName}=${${_variableName}}")
|
||||
endforeach()
|
||||
if(!Libssh2_FOUND OR "${Libssh2_FOUND}" STREQUAL "")
|
||||
if(!Libssh2_FOUND AND !LIBSSH2_FOUND)
|
||||
pkg_config_library(LIBSSH2 libssh2 REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue