aboutsummaryrefslogtreecommitdiff
path: root/ports/harfbuzz/fix_include.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-08-18 17:03:36 -0700
committerGitHub <noreply@github.com>2020-08-18 17:03:36 -0700
commit7ad163e476f6ad9db9b6508d52f8f403b85c80d0 (patch)
tree19a1c36b398931bfe37c908111d5b5ea96fcb19b /ports/harfbuzz/fix_include.patch
parent547af512d0f79864faaed927fa2d2e7c9b89a526 (diff)
downloadvcpkg-7ad163e476f6ad9db9b6508d52f8f403b85c80d0.tar.gz
vcpkg-7ad163e476f6ad9db9b6508d52f8f403b85c80d0.zip
[harfbuzz] Fix include path (#12871)
Diffstat (limited to 'ports/harfbuzz/fix_include.patch')
-rw-r--r--ports/harfbuzz/fix_include.patch12
1 files changed, 12 insertions, 0 deletions
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})
+
+