diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-14 20:04:12 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-15 20:14:21 -0700 |
| commit | faaa71baa0ce7da942d7bdee2a1b79de80107da4 (patch) | |
| tree | 338d4330df5d04b672d6f10232afaf25b3f41dde | |
| parent | 74c2c23c13da7889787cb0c1c0bc857bc6122d9e (diff) | |
| download | vcpkg-faaa71baa0ce7da942d7bdee2a1b79de80107da4.tar.gz vcpkg-faaa71baa0ce7da942d7bdee2a1b79de80107da4.zip | |
[qt5] Use _CL_ to add /utf-8 to all compiler lines.
Fixes #1092.
Fixes #1037.
Fixes #1024.
| -rw-r--r-- | ports/qt5/CONTROL | 2 | ||||
| -rw-r--r-- | ports/qt5/portfile.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/qt5/CONTROL b/ports/qt5/CONTROL index 1bda3a348..8d95c691e 100644 --- a/ports/qt5/CONTROL +++ b/ports/qt5/CONTROL @@ -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 diff --git a/ports/qt5/portfile.cmake b/ports/qt5/portfile.cmake index f5d8bbc63..ee871b155 100644 --- a/ports/qt5/portfile.cmake +++ b/ports/qt5/portfile.cmake @@ -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 |
