File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,6 @@ function(common_compiler_flags)
6666 # The public flag tells CMake that the following options are transient,
6767 # and will propagate to consumers.
6868 PUBLIC
69- # Disable exception handling. Godot doesn't use exceptions anywhere, and this
70- # saves around 20% of binary size and very significant build time.
71- $<${DISABLE_EXCEPTIONS} :$<${NOT_MSVC} :-fno-exceptions>>
7269
7370 # Enabling Debug Symbols
7471 $<${DEBUG_SYMBOLS} :
@@ -95,6 +92,9 @@ function(common_compiler_flags)
9592
9693 # Warnings below, these do not need to propagate to consumers.
9794 PRIVATE
95+ # Disable exception handling. Godot doesn't use exceptions anywhere, and this
96+ # saves around 20% of binary size and very significant build time.
97+ $<${DISABLE_EXCEPTIONS} :$<${NOT_MSVC} :-fno-exceptions>>
9898 $<${IS_MSVC} :
9999 /W4 # Warning level 4 (informational) warnings that aren't off by default.
100100
You can’t perform that action at this time.
0 commit comments