mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Update cmake/SelectHTTPSBackend.cmake
This commit is contained in:
@@ -55,6 +55,7 @@ if(USE_HTTPS)
|
||||
set(GIT_OPENSSL 1)
|
||||
list(APPEND LIBGIT2_SYSTEM_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
||||
list(APPEND LIBGIT2_SYSTEM_LIBS ${OPENSSL_LIBRARIES})
|
||||
# Static OpenSSL (lib crypto.a) requires libdl, include it explicitly
|
||||
if(LINK_WITH_STATIC_LIBRARIES STREQUAL ON)
|
||||
list(APPEND LIBGIT2_SYSTEM_LIBS ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user