diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index b156223..2d1801a 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -46,6 +46,7 @@ function(set_project_warnings) -Wnull-dereference # warn if a null dereference is detected -Wdouble-promotion # warn if float is implicit promoted to double -Wformat=2 # warn on security issues around functions that format output (ie printf) + -Wno-unused-lambda-capture # We like explicit capture ) if (WARNINGS_AS_ERRORS)