From 28fbddc23d9f7da75bfcc73d3dc1b138617418bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joni=20R=C3=A4s=C3=A4nen?= Date: Mon, 28 Feb 2022 09:46:26 +0200 Subject: [PATCH] build: Enable stricter warning level for MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()