mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Fix Ubuntu build
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e60e133e76
commit
9d0f2a6571
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ else()
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_LIBGIT23_API")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_LIBGIT23_API")
|
||||
find_package(libssh2 QUIET)
|
||||
if(!LIBSSH2_FOUND)
|
||||
if(!LIBSSH2_FOUND OR "${LIBSSH2_FOUND}" STREQUAL "")
|
||||
pkg_config_library(LIBSSH2 libssh2 REQUIRED)
|
||||
endif()
|
||||
set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES})
|
||||
|
|
Loading…
Reference in a new issue