mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 18:25:37 +08:00
[pango] Add CAIRO_WIN32_STATIC_BUILD symbol to static builds of pangocairo lib.
This commit is contained in:
parent
9a698d7088
commit
226eefef9d
@ -130,6 +130,10 @@ pango_add_module(pangocairo
|
||||
pango/pangocairo-font.c
|
||||
pango/pangocairo-fontmap.c
|
||||
pango/pangocairo-render.c)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
target_compile_definitions(pangocairo PRIVATE CAIRO_WIN32_STATIC_BUILD=1)
|
||||
endif()
|
||||
target_link_libraries(pangocairo ${CAIRO_LIBRARIES} pango pangowin32 pangoft2 ${FONT_LIBRARIES})
|
||||
target_include_directories(pangocairo PRIVATE ${CAIRO_INCLUDE_DIR} ${FONT_INCLUDE_DIRS})
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: pango
|
||||
Version: 1.40.6
|
||||
Version: 1.40.6-1
|
||||
Description: Text and font handling library.
|
||||
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz
|
||||
|
@ -17,6 +17,8 @@ vcpkg_apply_patches(
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DVCPKG_LIBRARY_LINKAGE=${VCPKG_LIBRARY_LINKAGE}
|
||||
OPTIONS_DEBUG
|
||||
-DPANGO_SKIP_HEADERS=ON)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user