]> granicus.if.org Git - icinga2/commitdiff
Add /bigobj compiler option for Windows
authorGunnar Beutner <gunnar@beutner.name>
Tue, 29 Mar 2016 06:45:46 +0000 (08:45 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 29 Mar 2016 06:45:46 +0000 (08:45 +0200)
refs #11462

CMakeLists.txt

index c81fa2af9a151497438501f8ae9bdae45ff9e771..bf5379f0fba0202c600b6e12d4aee378e9fc2f5a 100644 (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)