diff options
author | Brad King <brad.king@kitware.com> | 2022-02-18 13:51:43 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-02-18 13:51:55 (GMT) |
commit | 535f79656e77a94776dee2ce9c41cee199245f04 (patch) | |
tree | 31d9e9c99d6039687620c9de6b92cd4b33c7c038 /Utilities | |
parent | 7aa751256dcd34a6c40a27f36a61b8af98695630 (diff) | |
parent | 483a1c248c7d46edf76070d9861ebdfc27b7a7a4 (diff) | |
download | CMake-535f79656e77a94776dee2ce9c41cee199245f04.zip CMake-535f79656e77a94776dee2ce9c41cee199245f04.tar.gz CMake-535f79656e77a94776dee2ce9c41cee199245f04.tar.bz2 |
Merge topic 'libarchive-openssl-crypto-checks'
483a1c248c libarchive: Fix OpenSSL crypto library checks for build inside CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6997
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index c2aa182..2a788ff 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -863,6 +863,8 @@ MACRO(CHECK_CRYPTO ALGORITHMS IMPLEMENTATION) # crypto implementation is available on this platform. SET(TRY_CRYPTO_REQUIRED_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_BINARY_DIR};${CMAKE_CURRENT_SOURCE_DIR}/libarchive;${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp") + LIST(APPEND TRY_CRYPTO_REQUIRED_INCLUDES "${CMake_SOURCE_DIR}/Utilities" "${CMake_BINARY_DIR}/Utilities") # for KWIML inside CMake + SET(TRY_CRYPTO_REQUIRED_LIBS) IF ("${IMPLEMENTATION}" MATCHES "^OPENSSL$" AND OPENSSL_FOUND) SET(TRY_CRYPTO_REQUIRED_INCLUDES |