vcpkg/ports/harfbuzz/0001-fix-cmake-export.patch

14 lines
415 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71830b6f5..a25cb09dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -712,7 +712,7 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
)
install(EXPORT harfbuzzConfig
NAMESPACE harfbuzz::
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/harfbuzz
+ DESTINATION share/harfbuzz
)
if (HB_HAVE_ICU)
install(TARGETS harfbuzz-icu