diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e47546a..040e191c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ target_include_directories(${PROJECT_NAME} if(MSVC) - target_compile_options(${PROJECT_NAME} PRIVATE /Zc:__cplusplus) + target_compile_options(${PROJECT_NAME} PRIVATE /Zc:__cplusplus /W4) else() target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic #[[-Werror]]) endif()