aboutsummaryrefslogtreecommitdiff
path: root/ports/pango
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-05-30 03:45:57 +0800
committerPhil Christensen <philc@microsoft.com>2019-05-29 12:45:57 -0700
commit70e7124cc485b943b911b0aae8ae30b4cbce9583 (patch)
treed403503cfcbc3343381e29f3ef14282d568a5b10 /ports/pango
parent93ceb1a9933657d732faedc616bc5d0c85f94df4 (diff)
downloadvcpkg-70e7124cc485b943b911b0aae8ae30b4cbce9583.tar.gz
vcpkg-70e7124cc485b943b911b0aae8ae30b4cbce9583.zip
[pango/gtk]Fix build error C2001. (#6671)
Diffstat (limited to 'ports/pango')
-rw-r--r--ports/pango/CMakeLists.txt5
-rw-r--r--ports/pango/CONTROL2
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/pango/CMakeLists.txt b/ports/pango/CMakeLists.txt
index cc21d3eee..f0e6d85e7 100644
--- a/ports/pango/CMakeLists.txt
+++ b/ports/pango/CMakeLists.txt
@@ -11,6 +11,11 @@ else()
configure_file(./config.h.unix ${CMAKE_CURRENT_BINARY_DIR}/config.h COPYONLY)
endif()
+if (WIN32)
+ # Set utf-8 charset to avoid compile error C2001
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8")
+endif()
+
add_definitions(-DHAVE_CONFIG_H)
include_directories(. ./pango ${CMAKE_CURRENT_BINARY_DIR})
diff --git a/ports/pango/CONTROL b/ports/pango/CONTROL
index 9b176290b..f58bf18ec 100644
--- a/ports/pango/CONTROL
+++ b/ports/pango/CONTROL
@@ -1,4 +1,4 @@
Source: pango
-Version: 1.40.11-3
+Version: 1.40.11-4
Description: Text and font handling library.
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz[glib] (!windows-static)