summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorQuietust2012-05-23 13:38:16 -0500
committerQuietust2012-05-23 13:38:16 -0500
commit2b862655b722234431051f188fe5169960bb3f05 (patch)
treed65f28974d772bc6cdb4187368b3efd29916a0f0 /library/CMakeLists.txt
parent64ea06bbfebf795e5e24a634f8a821552835e2f3 (diff)
downloaddfhack-2b862655b722234431051f188fe5169960bb3f05.tar.gz
dfhack-2b862655b722234431051f188fe5169960bb3f05.tar.bz2
dfhack-2b862655b722234431051f188fe5169960bb3f05.tar.xz
Allow compiling RelWithDebInfo on Windows
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 32b7d9da..c49ac688 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -208,6 +208,8 @@ IF(UNIX)
SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp
PROPERTIES COMPILE_FLAGS "-g0 -O1")
ELSE(WIN32)
+ SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp
+ PROPERTIES COMPILE_FLAGS "/O1 /bigobj")
ENDIF()