From ca56c332e3356118441c955e690f6727a9928b69 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 7 Sep 2015 01:05:33 -0500 Subject: disable shared CMake builds for OS X / Windows for now --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') 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) set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) endif() +if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC)) + set(BUILD_SHARED true) +endif() + add_subdirectory(crypto) add_subdirectory(ssl) add_subdirectory(apps) -- cgit v1.2.3-55-g6feb