aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 4086168..2eca0b9 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -742,6 +742,12 @@ else()
742 endif() 742 endif()
743endif() 743endif()
744 744
745if(NOT "${OPENSSLDIR}" STREQUAL "")
746 add_definitions(-DOPENSSLDIR=\"${OPENSSLDIR}\")
747else()
748 add_definitions(-DOPENSSLDIR=\"${CMAKE_INSTALL_PREFIX}/etc/ssl\")
749endif()
750
745if (BUILD_SHARED) 751if (BUILD_SHARED)
746 add_library(crypto-objects OBJECT ${CRYPTO_SRC}) 752 add_library(crypto-objects OBJECT ${CRYPTO_SRC})
747 add_library(crypto STATIC $<TARGET_OBJECTS:crypto-objects>) 753 add_library(crypto STATIC $<TARGET_OBJECTS:crypto-objects>)