diff options
author | Brent Cook <bcook@openbsd.org> | 2017-07-06 23:58:40 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-07-06 23:58:40 -0500 |
commit | 334245374a084ba175225c209ac9e18af5a60150 (patch) | |
tree | 9d16bd6ef17ef8c5dd5ed2e44793447e769615f3 /ssl | |
parent | 52080abbf79a5037800e46639ade099e08027d0c (diff) | |
parent | a2bd5ebaba789822ae73e9059171c46ed6b8f574 (diff) | |
download | portable-334245374a084ba175225c209ac9e18af5a60150.tar.gz portable-334245374a084ba175225c209ac9e18af5a60150.tar.bz2 portable-334245374a084ba175225c209ac9e18af5a60150.zip |
Land #323, use GNUInstallDirs from cmake to specify install paths
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() |