diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-05-30 03:45:57 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-05-29 12:45:57 -0700 |
| commit | 70e7124cc485b943b911b0aae8ae30b4cbce9583 (patch) | |
| tree | d403503cfcbc3343381e29f3ef14282d568a5b10 /ports/gtk | |
| parent | 93ceb1a9933657d732faedc616bc5d0c85f94df4 (diff) | |
| download | vcpkg-70e7124cc485b943b911b0aae8ae30b4cbce9583.tar.gz vcpkg-70e7124cc485b943b911b0aae8ae30b4cbce9583.zip | |
[pango/gtk]Fix build error C2001. (#6671)
Diffstat (limited to 'ports/gtk')
| -rw-r--r-- | ports/gtk/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | ports/gtk/CONTROL | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/gtk/CMakeLists.txt b/ports/gtk/CMakeLists.txt index 22e30b1a7..9c265c7e5 100644 --- a/ports/gtk/CMakeLists.txt +++ b/ports/gtk/CMakeLists.txt @@ -12,6 +12,11 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug) set(CAIRO_LIB_SUFFIX d) endif() +if (WIN32) + # Set utf-8 charset to avoid compile error C2001 + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8") +endif() + # find dependencies # glib find_path(GLIB_INCLUDE_DIR glib.h) diff --git a/ports/gtk/CONTROL b/ports/gtk/CONTROL index c470f8ac8..ac0d4764f 100644 --- a/ports/gtk/CONTROL +++ b/ports/gtk/CONTROL @@ -1,4 +1,4 @@ Source: gtk -Version: 3.22.19-2 +Version: 3.22.19-3 Description: Portable library for creating graphical user interfaces. Build-Depends: glib, atk, gdk-pixbuf, pango, cairo, libepoxy, gettext |
