mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 20:13:07 +08:00
[vcpkg] Always use -c65001 for the resource compiler on windows. Fixes #3221.
This commit is contained in:
parent
6d0d3b1d2c
commit
58be848276
@ -17,6 +17,7 @@ if(NOT _CMAKE_IN_TRY_COMPILE)
|
||||
|
||||
set(CMAKE_CXX_FLAGS " /DWIN32 /D_WINDOWS /W3 ${CHARSET_FLAG} /GR /EHsc /MP ${VCPKG_CXX_FLAGS}" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS " /DWIN32 /D_WINDOWS /W3 ${CHARSET_FLAG} /MP ${VCPKG_C_FLAGS}" CACHE STRING "")
|
||||
set(CMAKE_RC_FLAGS "-c65001 /DWIN32" CACHE STRING "")
|
||||
|
||||
unset(CHARSET_FLAG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user