|
|
|
@ -254,7 +254,19 @@ pkgmod.generate(libharfbuzz_subset, |
|
|
|
|
version: meson.project_version(), |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if conf.get('HAVE_GOBJECT', 0) == 1 |
|
|
|
|
have_gobject = conf.get('HAVE_GOBJECT', 0) == 1 |
|
|
|
|
|
|
|
|
|
cmake_config = configuration_data() |
|
|
|
|
cmake_config.set('libdir', '${prefix}/@0@'.format(get_option('libdir'))) |
|
|
|
|
cmake_config.set('includedir', '${prefix}/@0@'.format(get_option('includedir'))) |
|
|
|
|
cmake_config.set('HB_LIBTOOL_VERSION_INFO', hb_libtool_version_info) |
|
|
|
|
cmake_config.set('have_gobject', have_gobject ? 'true' : 'false') |
|
|
|
|
configure_file(input: 'harfbuzz-config.cmake.in', |
|
|
|
|
output: 'harfbuzz-config.cmake', |
|
|
|
|
configuration: cmake_config, |
|
|
|
|
install_dir: join_paths(get_option('libdir'), 'cmake', 'harfbuzz')) |
|
|
|
|
|
|
|
|
|
if have_gobject |
|
|
|
|
gnome = import('gnome') |
|
|
|
|
|
|
|
|
|
h_templ = configure_file( |
|
|
|
|