mirror of https://github.com/microsoft/vcpkg.git
[harfbuzz] Fix include path (#12871)
This commit is contained in:
parent
547af512d0
commit
7ad163e476
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
||||
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue