Test fix to export target include directories
This commit is contained in:
parent
b10741ca7f
commit
9945f32746
@ -1,7 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.0)
|
cmake_minimum_required(VERSION 3.0.0)
|
||||||
project(harfbuzz)
|
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
|
## Limit framework build to Xcode generator
|
||||||
if (BUILD_FRAMEWORK)
|
if (BUILD_FRAMEWORK)
|
||||||
@ -414,7 +414,9 @@ endif ()
|
|||||||
## Define harfbuzz library
|
## Define harfbuzz library
|
||||||
add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers})
|
add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers})
|
||||||
target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS})
|
target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS})
|
||||||
|
target_include_directories(harfbuzz PUBLIC
|
||||||
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>"
|
||||||
|
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz>")
|
||||||
|
|
||||||
## Define harfbuzz-icu library
|
## Define harfbuzz-icu library
|
||||||
if (HB_HAVE_ICU)
|
if (HB_HAVE_ICU)
|
||||||
|
Loading…
Reference in New Issue
Block a user