From 16bff5cb10a95216632276bf9171ca99d0cbdcbd Mon Sep 17 00:00:00 2001 From: Paul Nathan Stickney Date: Tue, 14 Jul 2020 11:21:43 -0700 Subject: [PATCH] #908 cmake- increase compiler template backtrace limit --- cmake/turn_on_warnings.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/turn_on_warnings.cmake b/cmake/turn_on_warnings.cmake index 80238d9d5c..99ba25b441 100644 --- a/cmake/turn_on_warnings.cmake +++ b/cmake/turn_on_warnings.cmake @@ -18,4 +18,6 @@ if(NOT hasParent) enable_cxx_compiler_flag_if_supported("-Wshadow") enable_cxx_compiler_flag_if_supported("-Wno-unknown-pragmas") enable_cxx_compiler_flag_if_supported("-Wsign-compare") + # Not really a warning, is still diagnostic related.. + enable_cxx_compiler_flag_if_supported("-ftemplate-backtrace-limit=100") endif()