Skip to content

Commit

Permalink
Revert "[pango] Add CAIRO_WIN32_STATIC_BUILD symbol to static builds …
Browse files Browse the repository at this point in the history
…of pangocairo lib."

This reverts commit 226eefe.
  • Loading branch information
AlexanderTaeschner committed Jun 8, 2017
1 parent 226eefe commit 1c11bec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions ports/pango/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ 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})

Expand Down
2 changes: 1 addition & 1 deletion ports/pango/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: pango
Version: 1.40.6-1
Version: 1.40.6
Description: Text and font handling library.
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz
2 changes: 0 additions & 2 deletions ports/pango/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ 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)

Expand Down

0 comments on commit 1c11bec

Please sign in to comment.