aboutsummaryrefslogtreecommitdiff
path: root/tls
diff options
context:
space:
mode:
Diffstat (limited to 'tls')
-rw-r--r--tls/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt
index c3e6336..c8de04c 100644
--- a/tls/CMakeLists.txt
+++ b/tls/CMakeLists.txt
@@ -39,9 +39,13 @@ if (BUILD_SHARED)
39 ARCHIVE_OUTPUT_NAME tls${TLS_POSTFIX}) 39 ARCHIVE_OUTPUT_NAME tls${TLS_POSTFIX})
40 set_target_properties(tls-shared PROPERTIES VERSION ${TLS_VERSION} 40 set_target_properties(tls-shared PROPERTIES VERSION ${TLS_VERSION}
41 SOVERSION ${TLS_MAJOR_VERSION}) 41 SOVERSION ${TLS_MAJOR_VERSION})
42 install(TARGETS tls tls-shared DESTINATION ${CMAKE_INSTALL_LIBDIR}) 42 if(ENABLE_LIBRESSL_INSTALL)
43 install(TARGETS tls tls-shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
44 endif(ENABLE_LIBRESSL_INSTALL)
43else() 45else()
44 add_library(tls STATIC ${TLS_SRC}) 46 add_library(tls STATIC ${TLS_SRC})
45 install(TARGETS tls DESTINATION ${CMAKE_INSTALL_LIBDIR}) 47 if(ENABLE_LIBRESSL_INSTALL)
48 install(TARGETS tls DESTINATION ${CMAKE_INSTALL_LIBDIR})
49 endif(ENABLE_LIBRESSL_INSTALL)
46endif() 50endif()
47 51