| @PACKAGE_INIT@ |
| |
| set_and_check(HARFBUZZ_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") |
| |
| # Add the libraries. |
| add_library(harfbuzz::harfbuzz @HB_LIBRARY_TYPE@ IMPORTED) |
| set_target_properties(harfbuzz::harfbuzz PROPERTIES |
| INTERFACE_INCLUDE_DIRECTORIES "@PACKAGE_INCLUDE_INSTALL_DIR@" |
| IMPORTED_LOCATION "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@HB_LIB_PREFIX@harfbuzz@HB_LIB_SUFFIX@") |
| |
| add_library(harfbuzz::icu @HB_LIBRARY_TYPE@ IMPORTED) |
| set_target_properties(harfbuzz::icu PROPERTIES |
| INTERFACE_INCLUDE_DIRECTORIES "@PACKAGE_INCLUDE_INSTALL_DIR@" |
| INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" |
| IMPORTED_LOCATION "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@HB_LIB_PREFIX@harfbuzz-icu@HB_LIB_SUFFIX@") |
| |
| add_library(harfbuzz::subset @HB_LIBRARY_TYPE@ IMPORTED) |
| set_target_properties(harfbuzz::subset PROPERTIES |
| INTERFACE_INCLUDE_DIRECTORIES "@PACKAGE_INCLUDE_INSTALL_DIR@" |
| INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" |
| IMPORTED_LOCATION "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@HB_LIB_PREFIX@harfbuzz-subset@HB_LIB_SUFFIX@") |
| |
| # Only add the gobject library if it was built. |
| if (@HB_HAVE_GOBJECT@) |
| add_library(harfbuzz::gobject @HB_LIBRARY_TYPE@ IMPORTED) |
| set_target_properties(harfbuzz::gobject PROPERTIES |
| INTERFACE_INCLUDE_DIRECTORIES "@PACKAGE_INCLUDE_INSTALL_DIR@" |
| INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz" |
| IMPORTED_LOCATION "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@HB_LIB_PREFIX@harfbuzz-gobject@HB_LIB_SUFFIX@") |
| endif () |
| |
| check_required_components(harfbuzz) |