aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-19 22:04:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-19 22:04:20 -0800
commitdbe0d844f79b2814d8355061b9631e945b37d52c (patch)
tree1ebab81e2856c5156448136bebda6653d5a2b0f7
parent20fa943d25880e930b487b584c6f491ecdeee8a8 (diff)
downloadsubsurface-dbe0d844f79b2814d8355061b9631e945b37d52c.tar.gz
Trying to fix persistent build problems
This shouldn't hurt on any platform, but it may help on a couple of platforms where it appears we are missing libcrypto on the link line. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--cmake/Modules/HandleFindGit2.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/HandleFindGit2.cmake b/cmake/Modules/HandleFindGit2.cmake
index 875d0a5b6..7a7da9a91 100644
--- a/cmake/Modules/HandleFindGit2.cmake
+++ b/cmake/Modules/HandleFindGit2.cmake
@@ -9,7 +9,7 @@ if(LIBGIT2_FROM_PKGCONFIG)
endif()
if(FORCE_LIBSSH)
pkg_config_library(LIBSSH2 libssh2 REQUIRED)
- set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES})
+ set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} -lcrypto)
endif()
else()
find_package(LIBGIT2 REQUIRED)
@@ -31,5 +31,5 @@ else()
if(!LIBCURL_FOUND OR "${LIBCURL_FOUND}" STREQUAL "")
pkg_config_library(LIBCURL libcurl REQUIRED)
endif()
- set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} -L${LIBSSH2_LIBRARY_DIRS} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES})
+ set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} -L${LIBSSH2_LIBRARY_DIRS} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES} -lcrypto)
endif()