diff options
Diffstat (limited to 'tls')
-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 ab73460..c8de04c 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -40,12 +40,12 @@ if (BUILD_SHARED) | |||
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 | if(ENABLE_LIBRESSL_INSTALL) | 42 | if(ENABLE_LIBRESSL_INSTALL) |
43 | install(TARGETS tls tls-shared DESTINATION lib) | 43 | install(TARGETS tls tls-shared DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
44 | endif(ENABLE_LIBRESSL_INSTALL) | 44 | endif(ENABLE_LIBRESSL_INSTALL) |
45 | else() | 45 | else() |
46 | add_library(tls STATIC ${TLS_SRC}) | 46 | add_library(tls STATIC ${TLS_SRC}) |
47 | if(ENABLE_LIBRESSL_INSTALL) | 47 | if(ENABLE_LIBRESSL_INSTALL) |
48 | install(TARGETS tls DESTINATION lib) | 48 | install(TARGETS tls DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
49 | endif(ENABLE_LIBRESSL_INSTALL) | 49 | endif(ENABLE_LIBRESSL_INSTALL) |
50 | endif() | 50 | endif() |
51 | 51 | ||