diff options
author | d3x0r <d3x0r@users.noreply.github.com> | 2017-07-06 01:49:43 -0700 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-07-07 00:10:15 -0500 |
commit | de9ea11a07f23809c102c7a2e0378d71f8713c16 (patch) | |
tree | c291010c226e8f389f3d95c9b8f303c9a9aa33be /ssl | |
parent | 3cf0bc1226d2f7c14c7fa82ee8fd1626963bac10 (diff) | |
download | portable-de9ea11a07f23809c102c7a2e0378d71f8713c16.tar.gz portable-de9ea11a07f23809c102c7a2e0378d71f8713c16.tar.bz2 portable-de9ea11a07f23809c102c7a2e0378d71f8713c16.zip |
use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index bc2fea4..5403942 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -60,8 +60,8 @@ if (BUILD_SHARED) | |||
60 | ARCHIVE_OUTPUT_NAME ssl${SSL_POSTFIX}) | 60 | ARCHIVE_OUTPUT_NAME ssl${SSL_POSTFIX}) |
61 | set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION} | 61 | set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION} |
62 | SOVERSION ${SSL_MAJOR_VERSION}) | 62 | SOVERSION ${SSL_MAJOR_VERSION}) |
63 | install(TARGETS ssl ssl-shared DESTINATION lib) | 63 | install(TARGETS ssl ssl-shared DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
64 | else() | 64 | else() |
65 | add_library(ssl STATIC ${SSL_SRC}) | 65 | add_library(ssl STATIC ${SSL_SRC}) |
66 | install(TARGETS ssl DESTINATION lib) | 66 | install(TARGETS ssl DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
67 | endif() | 67 | endif() |