diff options
Diffstat (limited to 'src/shader_recompiler/CMakeLists.txt')
| -rw-r--r-- | src/shader_recompiler/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/CMakeLists.txt b/src/shader_recompiler/CMakeLists.txt index 551bf1c58..6b5df23e2 100644 --- a/src/shader_recompiler/CMakeLists.txt +++ b/src/shader_recompiler/CMakeLists.txt | |||
| @@ -197,6 +197,8 @@ else() | |||
| 197 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | 197 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> |
| 198 | -Werror=unused-variable | 198 | -Werror=unused-variable |
| 199 | 199 | ||
| 200 | # Bracket depth determines maximum size of a fold expression in Clang since 9c9974c3ccb6. | ||
| 201 | # And this in turns limits the size of a std::array. | ||
| 200 | $<$<CXX_COMPILER_ID:Clang>:-fbracket-depth=1024> | 202 | $<$<CXX_COMPILER_ID:Clang>:-fbracket-depth=1024> |
| 201 | ) | 203 | ) |
| 202 | endif() | 204 | endif() |