mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:28:01 +08:00
[qt5] Use _CL_ to add /utf-8 to all compiler lines.
Fixes #1092. Fixes #1037. Fixes #1024.
This commit is contained in:
parent
74c2c23c13
commit
faaa71baa0
@ -1,4 +1,4 @@
|
||||
Source: qt5
|
||||
Version: 5.8-1
|
||||
Version: 5.8-2
|
||||
Description: Qt5 application framework main components. Webengine, examples and tests not included.
|
||||
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre, harfbuzz, sqlite3, libpq, double-conversion
|
||||
|
@ -21,6 +21,9 @@ vcpkg_apply_patches(
|
||||
PATCHES "${CMAKE_CURRENT_LIST_DIR}/fix-qalgorithms-vs2017.patch" "${CMAKE_CURRENT_LIST_DIR}/fix-commandline-overrides.patch"
|
||||
)
|
||||
|
||||
# This fixes issues on machines with default codepages that are not ASCII compatible, such as some CJK encodings
|
||||
set(ENV{_CL_} "/utf-8")
|
||||
|
||||
configure_qt(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user