diff options
Diffstat (limited to 'tls/CMakeLists.txt')
-rw-r--r-- | tls/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 94803ce..bac3afd 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -24,9 +24,9 @@ if(WIN32) | |||
24 | endif() | 24 | endif() |
25 | 25 | ||
26 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 26 | if(NOT "${OPENSSLDIR}" STREQUAL "") |
27 | add_definitions(-D_PATH_SSL_CA_FILE=\"${OPENSSLDIR}/cert.pem\") | 27 | add_definitions(-DTLS_DEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") |
28 | else() | 28 | else() |
29 | add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\") | 29 | add_definitions(-DTLS_DEFAULT_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\") |
30 | endif() | 30 | endif() |
31 | 31 | ||
32 | add_library(tls ${TLS_SRC}) | 32 | add_library(tls ${TLS_SRC}) |