mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-03-03 17:17:14 +00:00
[harfbuzz] Propagate dependency on glib downstream (#6879)
This commit is contained in:
parent
d69ea6fe40
commit
f1e5cd064d
@ -1,5 +1,5 @@
|
||||
Source: harfbuzz
|
||||
Version: 2.5.1
|
||||
Version: 2.5.1-1
|
||||
Description: HarfBuzz OpenType text shaping engine
|
||||
Build-Depends: freetype, ragel, gettext (osx)
|
||||
Default-Features: ucdn
|
||||
|
@ -68,9 +68,22 @@ vcpkg_configure_cmake(
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/harfbuzz TARGET_PATH share/harfbuzz)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if (HAVE_GLIB)
|
||||
# Propagate dependency on glib downstream
|
||||
file(READ "${CURRENT_PACKAGES_DIR}/share/harfbuzz/harfbuzzConfig.cmake" _contents)
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/harfbuzz/harfbuzzConfig.cmake" "
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(unofficial-glib CONFIG)
|
||||
|
||||
${_contents}
|
||||
")
|
||||
endif()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/harfbuzz RENAME copyright)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user