From a6c692edcfa82746134abcbcc5344e8651cdfe32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E6=9C=A8=E9=89=89?= <740291272@qq.com> Date: Mon, 22 Mar 2021 17:31:35 +0800 Subject: [PATCH] Fix MSVC Warning D9025 (#80) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b2376131..ba4671db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ foreach(lib screen dom component) # Add as many warning as possible: if (WIN32) if (MSVC) - target_compile_options(${lib} PRIVATE "/W4") + target_compile_options(${lib} PRIVATE "/W3") target_compile_options(${lib} PRIVATE "/WX") target_compile_options(${lib} PRIVATE "/wd4244") target_compile_options(${lib} PRIVATE "/wd4267")