diff --git a/CMakeLists.txt b/CMakeLists.txt index 31ed78b..9c699e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,7 @@ target_include_directories( set( warning_options - $<$>:-Wall -Wextra -Werror=return-type -Wundef -Wpedantic> + $<$>:-Wall -Wextra -Werror=return-type -Wundef> $<$:-Wuseless-cast -Wmaybe-uninitialized> $<$:/W4 /WX /permissive-> ) @@ -248,7 +248,7 @@ if(CPPTRACE_WERROR_BUILD) set( warning_options ${warning_options} - $<$>:-Werror> + $<$>:-Werror -Wpedantic> $<$:/WX> ) endif()