add condition for setting BUILD_SHARED (cmake)
- add MINGW and CYGWIN for win build
This commit is contained in:
parent
8131b377bf
commit
177e13159b
@ -172,7 +172,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
endif()
|
||||
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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user