Merge topic 'fix-libarchive-openssl-no-hashes'

dbc9f73d libarchive: Restore OpenSSL include directory from upstream
This commit is contained in:
Brad King 2016-06-08 12:56:10 -04:00 committed by CMake Topic Stage
commit c3ba3a40a1
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ IF(ENABLE_OPENSSL AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
FIND_PACKAGE(OpenSSL) FIND_PACKAGE(OpenSSL)
IF(OPENSSL_FOUND) IF(OPENSSL_FOUND)
SET(HAVE_LIBCRYPTO 1) SET(HAVE_LIBCRYPTO 1)
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
ENDIF(OPENSSL_FOUND) ENDIF(OPENSSL_FOUND)
ELSE() ELSE()
SET(OPENSSL_FOUND FALSE) # Override cached value SET(OPENSSL_FOUND FALSE) # Override cached value