mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2025-02-04 02:35:17 +00:00
build: ensure access to enums from libmks_dep
This commit is contained in:
parent
169acba1bc
commit
0af4760feb
@ -44,7 +44,7 @@ version_conf.set('VERSION', meson.project_version())
|
||||
version_conf.set('MAJOR_VERSION', version_split[0])
|
||||
version_conf.set('MINOR_VERSION', version_split[1])
|
||||
version_conf.set('MICRO_VERSION', version_split[2])
|
||||
configure_file(
|
||||
mks_version_h = configure_file(
|
||||
input: 'mks-version.h.in',
|
||||
output: 'mks-version.h',
|
||||
configuration: version_conf,
|
||||
@ -52,6 +52,11 @@ configure_file(
|
||||
install_dir: join_paths(get_option('includedir'), 'libmks-@0@'.format(api_version))
|
||||
)
|
||||
|
||||
libmks_generated_sources = [
|
||||
libmks_enums,
|
||||
mks_version_h,
|
||||
]
|
||||
|
||||
libmks_deps = [
|
||||
libgio_dep,
|
||||
libgiounix_dep,
|
||||
@ -59,12 +64,13 @@ libmks_deps = [
|
||||
]
|
||||
|
||||
libmks = shared_library('mks-' + api_version,
|
||||
libmks_sources + [libmks_enums[0]] + libmks_private_sources,
|
||||
libmks_sources + libmks_generated_sources + libmks_private_sources,
|
||||
dependencies: libmks_deps,
|
||||
install: true,
|
||||
)
|
||||
|
||||
libmks_dep = declare_dependency(
|
||||
sources: libmks_generated_sources,
|
||||
link_with: libmks,
|
||||
dependencies: libmks_deps,
|
||||
include_directories: include_directories('.'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user