mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 21:45:06 +00:00
set harfbuzz version in cmake config file
This commit is contained in:
parent
3bb89eebd6
commit
780aaca89b
2 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
set_and_check(HARFBUZZ_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
||||
|
||||
set(HARFBUZZ_VERSION "@HARFBUZZ_VERSION@")
|
||||
|
||||
# Add the libraries.
|
||||
add_library(harfbuzz::harfbuzz @HB_LIBRARY_TYPE@ IMPORTED)
|
||||
set_target_properties(harfbuzz::harfbuzz PROPERTIES
|
||||
|
|
|
@ -875,6 +875,7 @@ endmacro()
|
|||
cmake_config.set('PACKAGE_CMAKE_INSTALL_INCLUDEDIR', '${PACKAGE_PREFIX_DIR}/@0@'.format(cmake_install_includedir))
|
||||
cmake_config.set('PACKAGE_CMAKE_INSTALL_LIBDIR', '${PACKAGE_PREFIX_DIR}/@0@'.format(cmake_install_libdir))
|
||||
cmake_config.set('PACKAGE_INCLUDE_INSTALL_DIR', '${PACKAGE_PREFIX_DIR}/@0@/@1@'.format(cmake_install_includedir, meson.project_name()))
|
||||
cmake_config.set('HARFBUZZ_VERSION', meson.project_version())
|
||||
cmake_config.set('HB_HAVE_GOBJECT', have_gobject ? 'YES' : 'NO')
|
||||
cmake_config.set('HB_LIBRARY_TYPE', get_option('default_library') == 'static' ? 'STATIC' : 'SHARED')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue