diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2016-04-01 15:02:45 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2016-04-01 15:02:45 -0700 |
commit | 3b6df0612d10bfeb90914fe5c13840f3968ba76a (patch) | |
tree | daf5055bfb8dbfa0165f043e6d6895056c1dd634 /cmake/CMakeLists.txt | |
parent | 203bb5eb33fca8d848c18e62a83d97b22bb08a79 (diff) | |
download | protobuf-3b6df0612d10bfeb90914fe5c13840f3968ba76a.tar.gz protobuf-3b6df0612d10bfeb90914fe5c13840f3968ba76a.tar.bz2 protobuf-3b6df0612d10bfeb90914fe5c13840f3968ba76a.zip |
Allow bigobj for map_unittest
Diffstat (limited to 'cmake/CMakeLists.txt')
-rw-r--r-- | cmake/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 15ae457a..f32a0e4e 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -118,6 +118,8 @@ if (MSVC) # Build with multiple processes add_definitions(/MP) add_definitions(/wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305) + # Allow big object + add_definitions(/bigobj) string(REPLACE "/" "\\" PROTOBUF_SOURCE_WIN32_PATH ${protobuf_SOURCE_DIR}) string(REPLACE "/" "\\" PROTOBUF_BINARY_WIN32_PATH ${protobuf_BINARY_DIR}) configure_file(extract_includes.bat.in extract_includes.bat) |