This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/cmake/FindHarfBuzz.cmake b/Source/cmake/FindHarfBuzz.cmake | |
index f8ca605..6e77478 100644 | |
--- a/Source/cmake/FindHarfBuzz.cmake | |
+++ b/Source/cmake/FindHarfBuzz.cmake | |
@@ -42,5 +42,14 @@ find_library(HARFBUZZ_LIBRARIES NAMES harfbuzz | |
HINTS ${PC_HARFBUZZ_LIBRARY_DIRS} ${PC_HARFBUZZ_LIBDIR} | |
) | |
+# HarfBuzz 0.9.18 split ICU support into a separate library harfbuzz-icu. | |
+if ("PC_HARFBUZZ_VERSION" VERSION_GREATER "0.9.17") |