diff options
author | Brent Cook <busterb@gmail.com> | 2019-06-10 07:04:01 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-06-10 07:04:01 -0500 |
commit | 6e2192618aa5fc04fc1a35e8df33cb19710cac62 (patch) | |
tree | 6871d8ec04834cf46ef8f97360c494679d1400d6 /crypto | |
parent | 83012fe34a105957a19eb3bfa6e044f16202938f (diff) | |
download | portable-6e2192618aa5fc04fc1a35e8df33cb19710cac62.tar.gz portable-6e2192618aa5fc04fc1a35e8df33cb19710cac62.tar.bz2 portable-6e2192618aa5fc04fc1a35e8df33cb19710cac62.zip |
use something else by default for Windows builds (match dist-win.sh)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 8 |
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() | |||
930 | endif() | 930 | endif() |
931 | 931 | ||
932 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 932 | if(NOT "${OPENSSLDIR}" STREQUAL "") |
933 | add_definitions(-DOPENSSLDIR=${OPENSSLDIR}) | 933 | add_definitions(-DOPENSSLDIR=\"${OPENSSLDIR}\") |
934 | else() | 934 | else() |
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() | ||
936 | endif() | 940 | endif() |
937 | 941 | ||
938 | file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS) | 942 | file(READ ${CMAKE_CURRENT_SOURCE_DIR}/crypto.sym SYMS) |