mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 04:28:26 +00:00
force disable of openssl, confusing cross-compiler
This commit is contained in:
parent
c3f35902f3
commit
fb0b1523c4
@ -91,12 +91,12 @@ IF (NOT CMAKE_BUILD_TYPE)
|
||||
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||
ENDIF ()
|
||||
|
||||
FIND_PACKAGE(OpenSSL)
|
||||
IF (OPENSSL_FOUND)
|
||||
ADD_DEFINITIONS(-DGIT_SSL)
|
||||
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
|
||||
SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
|
||||
ENDIF()
|
||||
#FIND_PACKAGE(OpenSSL)
|
||||
#IF (OPENSSL_FOUND)
|
||||
# ADD_DEFINITIONS(-DGIT_SSL)
|
||||
# INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
|
||||
# SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
|
||||
#ENDIF()
|
||||
|
||||
IF (THREADSAFE)
|
||||
IF (NOT WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user