diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CompilerWarnings.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index b7c6a54..41ee545 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -71,8 +71,8 @@ function(set_project_warnings project_name) set(GCC_WARNINGS -Wall -Wextra # reasonable and standard - #-Wshadow # warn the user if a variable declaration shadows one from a - # # parent context + -Wshadow # warn the user if a variable declaration shadows one from a + # parent context $<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor> # warn the user if a class with virtual functions has a # non-virtual destructor. This helps catch hard to |