diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-08-18 17:03:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-18 17:03:36 -0700 |
| commit | 7ad163e476f6ad9db9b6508d52f8f403b85c80d0 (patch) | |
| tree | 19a1c36b398931bfe37c908111d5b5ea96fcb19b | |
| parent | 547af512d0f79864faaed927fa2d2e7c9b89a526 (diff) | |
| download | vcpkg-7ad163e476f6ad9db9b6508d52f8f403b85c80d0.tar.gz vcpkg-7ad163e476f6ad9db9b6508d52f8f403b85c80d0.zip | |
[harfbuzz] Fix include path (#12871)
| -rw-r--r-- | ports/harfbuzz/CONTROL | 1 | ||||
| -rw-r--r-- | ports/harfbuzz/fix_include.patch | 12 | ||||
| -rw-r--r-- | ports/harfbuzz/portfile.cmake | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/ports/harfbuzz/CONTROL b/ports/harfbuzz/CONTROL index 4dbeebf7c..31901b9d9 100644 --- a/ports/harfbuzz/CONTROL +++ b/ports/harfbuzz/CONTROL @@ -1,5 +1,6 @@ Source: harfbuzz Version: 2.6.6 +Port-Version: 1 Description: HarfBuzz OpenType text shaping engine Homepage: https://github.com/behdad/harfbuzz Build-Depends: freetype[core], ragel, gettext (osx) diff --git a/ports/harfbuzz/fix_include.patch b/ports/harfbuzz/fix_include.patch new file mode 100644 index 000000000..894f7b37c --- /dev/null +++ b/ports/harfbuzz/fix_include.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c4dc524..bfd15ec 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -431,6 +431,7 @@ endif ()
+
+ ## Define harfbuzz library
+ add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers})
++target_include_directories(harfbuzz PUBLIC $<INSTALL_INTERFACE:include/harfbuzz>)
+ target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS})
+
+
diff --git a/ports/harfbuzz/portfile.cmake b/ports/harfbuzz/portfile.cmake index 8e82f9d6e..d15504401 100644 --- a/ports/harfbuzz/portfile.cmake +++ b/ports/harfbuzz/portfile.cmake @@ -12,6 +12,7 @@ vcpkg_from_github( find-package-freetype-2.patch # This patch is required for propagating the full list of dependencies from glib glib-cmake.patch + fix_include.patch ) file(READ ${SOURCE_PATH}/CMakeLists.txt _contents) |
