瀏覽代碼

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()
 
 #