diff options
author | bubnikv <bubnikv@gmail.com> | 2018-10-29 18:01:26 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-10-29 18:01:26 +0300 |
commit | 5377304b0ca1b29954c44af0b0ecb6cea54e2ebf (patch) | |
tree | 0720d00c9c9200951746566434e90437f467387d /CMakeLists.txt | |
parent | 35d984b812c1a34d324597403dd229801484f18e (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.txt | 3 |
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, ...) |