Fix MSVC Warning D9025

This commit is contained in:
柚木鉉
2021-03-22 11:11:13 +08:00
committed by GitHub
parent a4c6daae53
commit 1581aa6e3a

View File

@@ -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")