From 628922c658645b67e391a3e184d7492f3220af88 Mon Sep 17 00:00:00 2001 From: oahcy <1162485779@qq.com> Date: Tue, 6 Sep 2022 11:35:59 +0800 Subject: [PATCH] add freetype include --- ohos/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ohos/CMakeLists.txt b/ohos/CMakeLists.txt index 294a9e09..a00cd6f2 100644 --- a/ohos/CMakeLists.txt +++ b/ohos/CMakeLists.txt @@ -10,6 +10,7 @@ if (USE_DEBUG_RENDERER) add_library(freetype STATIC IMPORTED GLOBAL) set_target_properties(freetype PROPERTIES IMPORTED_LOCATION ${ohos_lib_dir}/libfreetype.a + INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/freetype ) endif()