diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index a484e3b..f0fb060 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -53,6 +53,7 @@ function(set_project_warnings project_name) set(GCC_WARNINGS ${CLANG_WARNINGS} + -Wno-deprecated -Wmisleading-indentation # warn if indentation implies blocks where blocks do not exist -Wduplicated-cond # warn if if / else chain has duplicated conditions -Wduplicated-branches # warn if if / else branches have duplicated code