commit | c5a6d259c2fb2ce5835878109628bfda31785c24 | [log] [tgz] |
---|---|---|
author | Steven Perron <stevenperron@google.com> | Fri Oct 19 11:59:01 2018 -0400 |
committer | GitHub <noreply@github.com> | Fri Oct 19 11:59:01 2018 -0400 |
tree | 54043cf440ec78037836c7203f445079151b5d1a | |
parent | 67ebe3f7aebe73426a3bf9718dba56f051d75db5 [diff] |
Increase the template nesting depth for clang. (#1995) We started hitting this limit, so increaseing from 256 to 1024. Fixes #1994.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 28077f2..0f992fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -139,6 +139,8 @@ target_compile_options(${TARGET} PRIVATE -fsanitize=${SPIRV_USE_SANITIZER}) endif() + target_compile_options(${TARGET} PRIVATE + -ftemplate-depth=1024) else() target_compile_options(${TARGET} PRIVATE -Wno-missing-field-initializers)