diff options
author | Brent Cook <bcook@openbsd.org> | 2017-07-09 05:06:06 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-07-09 05:06:06 -0500 |
commit | 0dbae37735a395e3c378ac944842e359f8087d41 (patch) | |
tree | 18aaf9fa1665455886fc171edbb8857ef5c35a21 /ssl | |
parent | c18852f650a3cb258e10222695a31ed5c929ab23 (diff) | |
parent | 0e82f22d16dc4c45bd45f9a994a30fc7435d430b (diff) | |
download | portable-0dbae37735a395e3c378ac944842e359f8087d41.tar.gz portable-0dbae37735a395e3c378ac944842e359f8087d41.tar.bz2 portable-0dbae37735a395e3c378ac944842e359f8087d41.zip |
Land #324, Add option LIBRESSL_SKIP_INSTALL
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index 5403942..bad7276 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -60,8 +60,12 @@ 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 ${CMAKE_INSTALL_LIBDIR}) | 63 | if(ENABLE_LIBRESSL_INSTALL) |
64 | install(TARGETS ssl ssl-shared DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
65 | endif(ENABLE_LIBRESSL_INSTALL) | ||
64 | else() | 66 | else() |
65 | add_library(ssl STATIC ${SSL_SRC}) | 67 | add_library(ssl STATIC ${SSL_SRC}) |
66 | install(TARGETS ssl DESTINATION ${CMAKE_INSTALL_LIBDIR}) | 68 | if(ENABLE_LIBRESSL_INSTALL) |
69 | install(TARGETS ssl DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
70 | endif(ENABLE_LIBRESSL_INSTALL) | ||
67 | endif() | 71 | endif() |