Преглед изворни кода

build: add /bigobj to MSVC build (#11407)

Jeff Bolz пре 1 година
родитељ
комит
ca6baf76c1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -50,6 +50,7 @@ endif()
 if (MSVC)
     add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
     add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/utf-8>")
+    add_compile_options(/bigobj)
 endif()
 
 #