diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-09 16:55:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-09 16:55:27 -0700 |
commit | 9d0f2a6571f541862fd8204c067ea2f5ed2c4091 (patch) | |
tree | c52a13e30057edf7ad67ebcde78c07d37b98d0b7 /CMakeLists.txt | |
parent | e60e133e76736c0f44a7fe0374ec44044db8cc45 (diff) | |
download | subsurface-9d0f2a6571f541862fd8204c067ea2f5ed2c4091.tar.gz |
Fix Ubuntu build
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ada22a35..c5e039185 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) |