diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b43a80..4c613cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,8 @@ endif() target_compile_options(yaml-cpp PRIVATE - $<${not-msvc}:-Wall -Wextra -Wshadow -Weffc++ -Wno-long-long> + $<${not-msvc}:-Wall -Wextra -Wshadow -Wno-long-long> + $<$:-Weffc++> $<${not-msvc}:-pedantic -pedantic-errors> $<$:-MTd>