Commit fb0b1523 by Chris Young

force disable of openssl, confusing cross-compiler

parent c3f35902
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment