diff --git a/CMakeLists.txt b/CMakeLists.txt index 28a654b05..19cb805c2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,7 @@ target_compile_options(slsProjectWarnings INTERFACE -Wredundant-decls # -Wconversion -Wdouble-promotion + -Werror=return-type )