diff options
author | Minmin Gong <gongminmin@msn.com> | 2022-01-11 19:11:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 19:11:06 +0300 |
commit | 8fda47ca08cff2494e068745aa0619280113baf7 (patch) | |
tree | d321fb27d38dd3ba8879f079a766f3ca919b8c51 /CMakeLists.txt | |
parent | 05c839ca018b7aa2f9278ef83f86be972f655e9b (diff) |
Disable a codepage warning on non-English OS (#4668)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 70caf857a..76b87d8c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,7 +116,7 @@ if(${COMPILER_IS_LIKE_GNU}) set(SPIRV_WARNINGS ${SPIRV_WARNINGS} -Werror) endif() elseif(MSVC) - set(SPIRV_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /wd4800) + set(SPIRV_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /wd4800 /wd4819) if(${SPIRV_WERROR}) set(SPIRV_WARNINGS ${SPIRV_WARNINGS} /WX) |