From 258e16099c36efe598f647002e4a6abceda6d715 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