diff options
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) |