From 422d6520268b9565a3b39e5dcd99605cb8f4b83b Mon Sep 17 00:00:00 2001 From: is-this-c <87069698+is-this-c@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:11:25 +1300 Subject: [PATCH] Increase warning level for Visual C++ (#312) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3d90719..6af68762 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,8 @@ endif() macro(enable_warnings target) if(NOT MSVC) target_compile_options(${target} PRIVATE -Wall -Wextra -Wundef) + else() + target_compile_options(${target} PRIVATE /W3) endif() endmacro()