diff options
| -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) |
