Commit bad15056 by U-Poseidon\Chris

Force not to use openssl, as confusing cross-compiler

t to use openssl, as confusing cross-compiler
t to use openssl, as confusing cross-compiler

ss

 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

	modified:   CMakeLists.txt
parent 3a42e0a3
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
# Install: # Install:
# > cmake --build . --target install # > cmake --build . --target install
SET(CMAKE_SYSTEM_NAME "Generic")
PROJECT(libgit2 C) PROJECT(libgit2 C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
...@@ -25,7 +27,7 @@ SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${ ...@@ -25,7 +27,7 @@ SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${
INCLUDE_DIRECTORIES(deps/zlib src include) INCLUDE_DIRECTORIES(deps/zlib src include)
# Try finding openssl # Try finding openssl
FIND_PACKAGE(OpenSSL) #FIND_PACKAGE(OpenSSL)
IF (OPENSSL_CRYPTO_LIBRARIES) IF (OPENSSL_CRYPTO_LIBRARIES)
SET(SHA1_TYPE "openssl" CACHE STRING "Which SHA1 implementation to use: builtin, ppc, openssl") SET(SHA1_TYPE "openssl" CACHE STRING "Which SHA1 implementation to use: builtin, ppc, openssl")
ELSEIF () ELSEIF ()
......
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