From 9945f327463066957f2677237d468651235a1f3d Mon Sep 17 00:00:00 2001 From: Timo Suoranta Date: Sat, 6 Feb 2021 14:24:25 +0200 Subject: [PATCH] Test fix to export target include directories --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 285ae1043..a0785c1f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ -cmake_minimum_required(VERSION 2.8.0) +cmake_minimum_required(VERSION 3.0.0) project(harfbuzz) -message(WARN "HarfBuzz has a Meson port and tries to migrate all the other build systems to it, please consider using it as we might remove our cmake port soon.") +# message(WARN "HarfBuzz has a Meson port and tries to migrate all the other build systems to it, please consider using it as we might remove our cmake port soon.") ## Limit framework build to Xcode generator if (BUILD_FRAMEWORK) @@ -414,7 +414,9 @@ endif () ## Define harfbuzz library add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers}) target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS}) - +target_include_directories(harfbuzz PUBLIC + "$" + "$") ## Define harfbuzz-icu library if (HB_HAVE_ICU)