Land #185, fix MINGW and CYGWIN builds with cmake

This commit is contained in:
Brent Cook 2016-04-09 11:50:37 -05:00
commit 9a98de6c34

View File

@ -191,7 +191,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "HP-UX")
set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread)
endif()
if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC))
if(NOT (CMAKE_SYSTEM_NAME MATCHES "(Darwin|MINGW|CYGWIN)" OR MSVC))
set(BUILD_SHARED true)
endif()