aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 15:31:41 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 15:35:21 +0900
commit177e13159be4c49200b21916b23f0c360df430ac (patch)
tree2ec8aa0a45748e8bb660e2b2f23b094c12d23e0f
parent8131b377bffdacb8789c78ef31160b3bf4ee054b (diff)
downloadportable-177e13159be4c49200b21916b23f0c360df430ac.tar.gz
portable-177e13159be4c49200b21916b23f0c360df430ac.tar.bz2
portable-177e13159be4c49200b21916b23f0c360df430ac.zip
add condition for setting BUILD_SHARED (cmake)
- add MINGW and CYGWIN for win build
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 710d8a9..c6ec681 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,7 +172,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
172 endif() 172 endif()
173endif() 173endif()
174 174
175if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" OR MSVC)) 175if(NOT (CMAKE_SYSTEM_NAME MATCHES "(Darwin|MINGW|CYGWIN)" OR MSVC))
176 set(BUILD_SHARED true) 176 set(BUILD_SHARED true)
177endif() 177endif()
178 178