Fix MSVC Warning D9025 (#80)

This commit is contained in:
柚木鉉 2021-03-22 17:31:35 +08:00 committed by GitHub
parent a4c6daae53
commit a6c692edcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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