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 /CMakeLists.txt | |
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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b5c5408..0e4c000 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -158,6 +158,10 @@ if(CMAKE_HOST_WIN32) | |||
158 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) | 158 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) |
159 | endif() | 159 | endif() |
160 | 160 | ||
161 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC)) | ||
162 | set(BUILD_SHARED true) | ||
163 | endif() | ||
164 | |||
161 | add_subdirectory(crypto) | 165 | add_subdirectory(crypto) |
162 | add_subdirectory(ssl) | 166 | add_subdirectory(ssl) |
163 | add_subdirectory(apps) | 167 | add_subdirectory(apps) |