From ef2f3579df9e81e26919f76ae8bc3c620f800e56 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 26 Jun 2021 23:58:33 +0200 Subject: [PATCH] Enable level 2 warnigns on MSVC --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c7ee12f2..ac517f164 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -831,9 +831,8 @@ if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC") endif() if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") - target_compile_options(libdevilutionx PUBLIC "/W1") + target_compile_options(libdevilutionx PUBLIC "/W2") target_compile_options(libdevilutionx PUBLIC "/Zc:__cplusplus") - target_compile_options(libdevilutionx PUBLIC "/permissive-") endif() if(APPLE)