diff options
author | Brent Cook <bcook@openbsd.org> | 2015-09-07 01:05:33 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-09-11 16:36:03 -0500 |
commit | 9c9a9858e8a3f680f75225aff88237979466ee9a (patch) | |
tree | dc46831004c93c6078e72eb1b2795473f49663ec /ssl | |
parent | 90f851568acc951195e26b128ef514b2b18ebffe (diff) | |
download | portable-9c9a9858e8a3f680f75225aff88237979466ee9a.tar.gz portable-9c9a9858e8a3f680f75225aff88237979466ee9a.tar.bz2 portable-9c9a9858e8a3f680f75225aff88237979466ee9a.zip |
disable shared CMake builds for OS X / Windows for now
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index 9aef592..65e872d 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -54,8 +54,13 @@ set( | |||
54 | add_library(ssl-objects OBJECT ${SSL_SRC}) | 54 | add_library(ssl-objects OBJECT ${SSL_SRC}) |
55 | set_property(TARGET ssl-objects PROPERTY POSITION_INDEPENDENT_CODE 1) | 55 | set_property(TARGET ssl-objects PROPERTY POSITION_INDEPENDENT_CODE 1) |
56 | add_library(ssl STATIC $<TARGET_OBJECTS:ssl-objects>) | 56 | add_library(ssl STATIC $<TARGET_OBJECTS:ssl-objects>) |
57 | add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>) | 57 | set(SSL_TARGETS ssl) |
58 | set_target_properties(ssl-shared PROPERTIES OUTPUT_NAME ssl) | ||
59 | set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION} SOVERSION ${SSL_MAJOR_VERSION}) | ||
60 | 58 | ||
61 | install(TARGETS ssl ssl-shared DESTINATION lib) | 59 | if (BUILD_SHARED) |
60 | add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>) | ||
61 | set_target_properties(ssl-shared PROPERTIES OUTPUT_NAME ssl) | ||
62 | set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION} SOVERSION ${SSL_MAJOR_VERSION}) | ||
63 | set(SSL_TARGETS ${SSL_TARGETS} ssl-shared) | ||
64 | endif() | ||
65 | |||
66 | install(TARGETS ${SSL_TARGETS} DESTINATION lib) | ||