Limit PCH size sanely

This commit is contained in:
Siana Gearz
2012-02-09 15:22:07 +01:00
parent acf378e9f2
commit a3a7f72b7c

View File

@@ -28,6 +28,9 @@ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;ReleaseSSE2;Debug" CACHE S
# Platform-specific compilation flags.
if (WINDOWS)
# Remove default /Zm1000 flag that cmake inserts
string (REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# Don't build DLLs.
set(BUILD_SHARED_LIBS OFF)