aboutsummaryrefslogtreecommitdiff
path: root/qlite/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/meson.build')
-rw-r--r--qlite/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/qlite/meson.build b/qlite/meson.build
index 714a4224..9523b618 100644
--- a/qlite/meson.build
+++ b/qlite/meson.build
@@ -18,5 +18,10 @@ sources = files(
c_args = [
'-DG_LOG_DOMAIN="qlite"',
]
-lib_qlite = library('qlite', sources, c_args: c_args, vala_args: ['--vapidir', meson.current_source_dir() / 'vapi'], dependencies: dependencies)
+vala_args = [
+ '--vapidir', meson.current_source_dir() / 'vapi',
+]
+lib_qlite = library('qlite', sources, c_args: c_args, vala_args: vala_args, dependencies: dependencies, version: '0.1', install: true, install_dir: [true, true, true])
dep_qlite = declare_dependency(link_with: lib_qlite, include_directories: include_directories('.'))
+
+install_data('qlite.deps', install_dir: get_option('datadir') / 'vala/vapi') # TODO: workaround for https://github.com/mesonbuild/meson/issues/9756