Cloud storage: Require libcurl in order to support http proxies
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f3b93eb57a
commit
3ff3577eda
@ -65,7 +65,11 @@ else()
|
||||
if(!LIBSSH2_FOUND OR "${LIBSSH2_FOUND}" STREQUAL "")
|
||||
pkg_config_library(LIBSSH2 libssh2 REQUIRED)
|
||||
endif()
|
||||
set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES})
|
||||
find_package(libcurl QUIET)
|
||||
if(!LIBCURL_FOUND OR "${LIBCURL_FOUND}" STREQUAL "")
|
||||
pkg_config_library(LIBCURL libcurl REQUIRED)
|
||||
endif()
|
||||
set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user