Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-10-29 18:01:26 +0300
committerbubnikv <bubnikv@gmail.com>2018-10-29 18:01:26 +0300
commit5377304b0ca1b29954c44af0b0ecb6cea54e2ebf (patch)
tree0720d00c9c9200951746566434e90437f467387d /CMakeLists.txt
parent35d984b812c1a34d324597403dd229801484f18e (diff)
Precompiled headers on Visual Studio & GCC, with the highest hopes
that it will not break the build server.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4d1223fd..22dfcaf0a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,8 @@ if (MSVC)
add_compile_options(/MP)
endif ()
# /bigobj (Increase Number of Sections in .Obj file)
- add_compile_options(-bigobj)
+ # error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm90' or greater
+ add_compile_options(-bigobj -Zm316)
endif ()
# CMAKE_PREFIX_PATH is used to point CMake to the remaining dependencies (Boost, TBB, ...)