diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e4819d6..7566523 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ - if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") +if (MSVC) add_compile_options( "$<$:/W4>" "$<$:/O2>"