mirror of https://github.com/microsoft/vcpkg.git
[pango/gtk]Fix build error C2001. (#6671)
This commit is contained in:
parent
93ceb1a993
commit
70e7124cc4
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue