aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-09-21 15:28:51 +1000
committerfuzzard <fuzzard@kodi.tv>2023-09-24 14:11:33 +1000
commit44db2e1640ea7f8039f28ec059b0b0ef2d6f3b48 (patch)
treed681ea22aff31c79f321efd406f66a52f82bbc39 /cmake
parent35ef8b175c5fe81e44c6028880e3e39cd600b0c7 (diff)
[cmake] FindHarfBuzz update search paths and options
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindHarfBuzz.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/cmake/modules/FindHarfBuzz.cmake b/cmake/modules/FindHarfBuzz.cmake
index 44b291c9b8..bef71c8f6c 100644
--- a/cmake/modules/FindHarfBuzz.cmake
+++ b/cmake/modules/FindHarfBuzz.cmake
@@ -14,12 +14,14 @@ if(NOT TARGET HarfBuzz::HarfBuzz)
endif()
find_path(HARFBUZZ_INCLUDE_DIR NAMES harfbuzz/hb-ft.h hb-ft.h
- HINTS ${PC_HARFBUZZ_INCLUDEDIR}
+ HINTS ${DEPENDS_PATH}/include
+ ${PC_HARFBUZZ_INCLUDEDIR}
${PC_HARFBUZZ_INCLUDE_DIRS}
- PATH_SUFFIXES harfbuzz
+ ${${CORE_PLATFORM_LC}_SEARCH_CONFIG}
NO_CACHE)
find_library(HARFBUZZ_LIBRARY NAMES harfbuzz
- HINTS ${PC_HARFBUZZ_LIBDIR}
+ HINTS ${DEPENDS_PATH}/lib ${PC_HARFBUZZ_LIBDIR}
+ ${${CORE_PLATFORM_LC}_SEARCH_CONFIG}
NO_CACHE)
set(HARFBUZZ_VERSION ${PC_HARFBUZZ_VERSION})