We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ef8f9 commit 64597afCopy full SHA for 64597af
1 file changed
src/api_layers/CMakeLists.txt
@@ -37,6 +37,13 @@ else()
37
set(LAYER_MANIFEST_PREFIX)
38
endif()
39
40
+# Windows needs bigobj support since we have generated code.
41
+if(MSVC)
42
+ add_compile_options("/bigobj")
43
+elseif(WIN32 AND CMAKE_CXX_COMPILER_ID MATCHES "^Clang|GNU$")
44
+ add_compile_options("-Wa,-mbig-obj")
45
+endif()
46
+
47
# Basics for api_dump API Layer
48
49
gen_xr_layer_json(
0 commit comments