Skip to content

Commit

Permalink
Fix harfbuzz targets (microsoft#4345)
Browse files Browse the repository at this point in the history
Since commit 6a97d0f3d377a35ea691d15ac142ce043f953e71 upstream, the
target is in the harfbuzz:: namespace.
  • Loading branch information
tronical authored and ras0219-msft committed Oct 9, 2018
1 parent 77fbb32 commit 33aa4b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ports/harfbuzz/0001-fix-cmake-export.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ index e881dbd1..69496561 100644
FRAMEWORK DESTINATION Library/Frameworks
)
+ install(EXPORT harfbuzzConfig
+ NAMESPACE unofficial::harfbuzz::
+ FILE unofficial-harfbuzz-config.cmake
+ DESTINATION share/unofficial-harfbuzz
+ NAMESPACE harfbuzz::
+ FILE harfbuzz-config.cmake
+ DESTINATION share/harfbuzz
+ )
if (HB_BUILD_UTILS)
install(TARGETS hb-view
Expand Down
2 changes: 1 addition & 1 deletion ports/harfbuzz/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: harfbuzz
Version: 1.8.4-1
Version: 1.8.4-2
Description: HarfBuzz OpenType text shaping engine
Build-Depends: freetype, ragel
Default-Features: ucdn
Expand Down
4 changes: 2 additions & 2 deletions ports/harfbuzz/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ vcpkg_configure_cmake(
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-harfbuzz TARGET_PATH share/unofficial-harfbuzz)
vcpkg_fixup_cmake_targets(CONFIG_PATH share/harfbuzz TARGET_PATH share/harfbuzz)
vcpkg_copy_pdbs()

# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/harfbuzz)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/harfbuzz/COPYING ${CURRENT_PACKAGES_DIR}/share/harfbuzz/copyright)

vcpkg_test_cmake(PACKAGE_NAME unofficial-harfbuzz)
vcpkg_test_cmake(PACKAGE_NAME harfbuzz)

0 comments on commit 33aa4b4

Please sign in to comment.