diff options
| author | Brent Cook <bcook@openbsd.org> | 2016-04-09 11:50:37 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2016-04-09 11:50:37 -0500 |
| commit | 9a98de6c34d9fbb97f2619617c102691d6065a81 (patch) | |
| tree | a4f4e1f43ea0774a2be58147fb39d9799851fd70 | |
| parent | 34bf322e6e4bdb270d663c37eebafd8dafb08a91 (diff) | |
| parent | 177e13159be4c49200b21916b23f0c360df430ac (diff) | |
| download | portable-9a98de6c34d9fbb97f2619617c102691d6065a81.tar.gz portable-9a98de6c34d9fbb97f2619617c102691d6065a81.tar.bz2 portable-9a98de6c34d9fbb97f2619617c102691d6065a81.zip | |
Land #185, fix MINGW and CYGWIN builds with cmake
| -rw-r--r-- | CMakeLists.txt | 2 |
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) |
| 192 | endif() | 192 | endif() |
| 193 | 193 | ||
| 194 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC)) | 194 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "(Darwin|MINGW|CYGWIN)" OR MSVC)) |
| 195 | set(BUILD_SHARED true) | 195 | set(BUILD_SHARED true) |
| 196 | endif() | 196 | endif() |
| 197 | 197 | ||
