diff Resources/CMake/Compiler.cmake @ 3250:212abfffc44d

still increasing heap size
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 16 Feb 2019 11:38:54 +0100
parents ae68bf751187
children fcfd4f73228c
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake	Sat Feb 16 11:30:35 2019 +0100
+++ b/Resources/CMake/Compiler.cmake	Sat Feb 16 11:38:54 2019 +0100
@@ -39,7 +39,7 @@
   if (BOOST_LOCALE_BACKEND STREQUAL "icu")
     # If compiling icu, the heap space must be further increased:
     # "icudt58l_dat.c(1638339): fatal error C1060: compiler is out of heap space"
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm512")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm1024")
   else()
     # Add /Zm256 compiler option to Visual Studio to fix PCH errors
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm256")