mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-12 02:49:07 +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)
|
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
FIND_PACKAGE(OpenSSL)
|
#FIND_PACKAGE(OpenSSL)
|
||||||
IF (OPENSSL_FOUND)
|
#IF (OPENSSL_FOUND)
|
||||||
ADD_DEFINITIONS(-DGIT_SSL)
|
# ADD_DEFINITIONS(-DGIT_SSL)
|
||||||
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
|
# INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
|
||||||
SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
|
# SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
|
||||||
ENDIF()
|
#ENDIF()
|
||||||
|
|
||||||
IF (THREADSAFE)
|
IF (THREADSAFE)
|
||||||
IF (NOT WIN32)
|
IF (NOT WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user