cmake: try to disable compile warning of C4819

This commit is contained in:
Xiaofeng Wang
2022-07-26 13:24:22 +08:00
parent 8f679831bc
commit 310b60276c
2 changed files with 5 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ if(UNIX)
"-Wno-error=extra;-Wno-error=missing-field-initializers;-Wno-error=type-limits")
elseif(WIN32)
# TODO: /wd4819 应该是不会生效
set(COMPILE_OPTIONS_DEFAULT "/wd4819")
set(COMPILE_OPTIONS_DEFAULT "/wd4566;/wd4819")
endif()
# mediakit 以及各个 runtime 依赖