Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
3249:bce0e4c9ca45 | 3250:212abfffc44d |
---|---|
37 endforeach(flag_var) | 37 endforeach(flag_var) |
38 | 38 |
39 if (BOOST_LOCALE_BACKEND STREQUAL "icu") | 39 if (BOOST_LOCALE_BACKEND STREQUAL "icu") |
40 # If compiling icu, the heap space must be further increased: | 40 # If compiling icu, the heap space must be further increased: |
41 # "icudt58l_dat.c(1638339): fatal error C1060: compiler is out of heap space" | 41 # "icudt58l_dat.c(1638339): fatal error C1060: compiler is out of heap space" |
42 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm512") | 42 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm1024") |
43 else() | 43 else() |
44 # Add /Zm256 compiler option to Visual Studio to fix PCH errors | 44 # Add /Zm256 compiler option to Visual Studio to fix PCH errors |
45 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm256") | 45 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm256") |
46 endif() | 46 endif() |
47 | 47 |