From a0525ddd261aa15ff2acf7c9dfc80a96789223f7 Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Thu, 7 Oct 2021 20:16:45 +0200 Subject: [PATCH] [CMake] nativ harfbuzz don't publish a version. Therefore we can't depend on it. https://github.com/harfbuzz/harfbuzz/blob/4645c3b47c6e7a70f8d55eda543df1109e309347/CMakeLists.txt#L686 and following --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2b11a3b7..080b9d3d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,7 @@ endif() mapnik_find_package(Freetype REQUIRED) # try to find harfbuzz with the native configuration and fallback to our "own" FindHarfBuzz -mapnik_find_package(harfbuzz ${HARFBUZZ_MIN_VERSION} CONFIG QUIET) +mapnik_find_package(harfbuzz CONFIG QUIET) if(harfbuzz_FOUND) message(STATUS "Found harfbuzz native cmake") list(APPEND MAPNIK_OPTIONAL_LIBS harfbuzz::harfbuzz)