aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crypto/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 3b98841..c21fce5 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -930,9 +930,13 @@ else()
930endif() 930endif()
931 931
932if(NOT "${OPENSSLDIR}" STREQUAL "") 932if(NOT "${OPENSSLDIR}" STREQUAL "")
933 add_definitions(-DOPENSSLDIR=${OPENSSLDIR}) 933 add_definitions(-DOPENSSLDIR=\"${OPENSSLDIR}\")
934else() 934else()
935 add_definitions(-DOPENSSLDIR=${CMAKE_INSTALL_PREFIX}/etc/ssl) 935 if(WIN32)
936 add_definitions(-DOPENSSLDIR=C:/libressl/ssl)
937 else()
938 add_definitions(-DOPENSSLDIR=\"${CMAKE_INSTALL_PREFIX}/etc/ssl\")
939 endif()
936endif() 940endif()
937 941
938file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS) 942file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS)