Add /bigobj compiler option for Windows

refs #11462
This commit is contained in:
Gunnar Beutner 2016-03-29 08:45:46 +02:00
parent 796884343b
commit 02ed66847c
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ endif()
if(WIN32)
set(Boost_USE_STATIC_LIBS ON)
add_definitions(-DBOOST_ALL_NO_LIB)
add_definitions(/bigobj)
endif()
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS thread system program_options regex REQUIRED)