aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-04-09 11:50:37 -0500
committerBrent Cook <bcook@openbsd.org>2016-04-09 11:50:37 -0500
commit9a98de6c34d9fbb97f2619617c102691d6065a81 (patch)
treea4f4e1f43ea0774a2be58147fb39d9799851fd70
parent34bf322e6e4bdb270d663c37eebafd8dafb08a91 (diff)
parent177e13159be4c49200b21916b23f0c360df430ac (diff)
downloadportable-9a98de6c34d9fbb97f2619617c102691d6065a81.tar.gz
portable-9a98de6c34d9fbb97f2619617c102691d6065a81.tar.bz2
portable-9a98de6c34d9fbb97f2619617c102691d6065a81.zip
Land #185, fix MINGW and CYGWIN builds with cmake
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e782e38..14a1ae1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,7 +191,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "HP-UX")
191 set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) 191 set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread)
192endif() 192endif()
193 193
194if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC)) 194if(NOT (CMAKE_SYSTEM_NAME MATCHES "(Darwin|MINGW|CYGWIN)" OR MSVC))
195 set(BUILD_SHARED true) 195 set(BUILD_SHARED true)
196endif() 196endif()
197 197