mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 16:52:39 +00:00
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
This commit is contained in:
parent
3a42e0a370
commit
bad1505609
@ -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}.${
|
|||||||
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 ()
|
||||||
|
Loading…
Reference in New Issue
Block a user