From: Gunnar Beutner Date: Tue, 29 Mar 2016 06:45:46 +0000 (+0200) Subject: Add /bigobj compiler option for Windows X-Git-Tag: v2.5.0~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02ed66847cd9d566faed56eff41c6e10a63a2e8b;p=icinga2 Add /bigobj compiler option for Windows refs #11462 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c81fa2af9..bf5379f0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)