aboutsummaryrefslogtreecommitdiff
path: root/tls
diff options
context:
space:
mode:
Diffstat (limited to 'tls')
-rw-r--r--tls/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt
index 240dbf8..077f5ee 100644
--- a/tls/CMakeLists.txt
+++ b/tls/CMakeLists.txt
@@ -26,11 +26,7 @@ if(WIN32)
26 set(LIBTLS_EXTRA_EXPORT ${LIBTLS_EXTRA_EXPORT} ftruncate) 26 set(LIBTLS_EXTRA_EXPORT ${LIBTLS_EXTRA_EXPORT} ftruncate)
27endif() 27endif()
28 28
29if(NOT "${OPENSSLDIR}" STREQUAL "") 29add_definitions(-DTLS_DEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\")
30 add_definitions(-DTLS_DEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\")
31else()
32 add_definitions(-DTLS_DEFAULT_CA_FILE=\"${CMAKE_INSTALL_PREFIX}/etc/ssl/cert.pem\")
33endif()
34 30
35file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym DESTINATION 31file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym DESTINATION
36 ${CMAKE_CURRENT_BINARY_DIR}) 32 ${CMAKE_CURRENT_BINARY_DIR})