From 48d69ac9d7ba09ba8d60865a2c60cb796828c81c Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Oct 2010 09:51:06 +0200 Subject: [PATCH] Fixed: Added /Zm1000 to be able to create PCH with a lot of headers --- code/CMakeModules/nel.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 94fdf346d..870b0a0ac 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -288,7 +288,7 @@ MACRO(NL_SETUP_BUILD) # without inlining it's unusable, use custom optimizations again SET(MIN_OPTIMIZATIONS "/Ob1") - SET(PLATFORM_CFLAGS "/D_CRT_SECURE_NO_WARNINGS /DWIN32 /D_WINDOWS /W3 /Zi") + SET(PLATFORM_CFLAGS "/D_CRT_SECURE_NO_WARNINGS /DWIN32 /D_WINDOWS /W3 /Zi /Zm1000") IF(WITH_STLPORT) # deactivate all global include paths