diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2022-02-06 19:39:22 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2022-02-06 19:39:22 +0100 |
commit | 69f20c0a5108ac44d0841f0697ce2dfa7832024d (patch) | |
tree | 6fa7ead092cb83ff8827aa88775fcf83c5c5aa7d | |
parent | 7d4dfd423f12a137cefc20a543794ffee4637d98 (diff) | |
download | props.lv2-69f20c0a5108ac44d0841f0697ce2dfa7832024d.tar.xz |
meson: don't install plugin if built as subproject
-rw-r--r-- | meson.build | 10 | ||||
-rw-r--r-- | meson_options.txt | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/meson.build b/meson.build index ba352c7..89aed5f 100644 --- a/meson.build +++ b/meson.build @@ -54,11 +54,13 @@ test_srcs += join_paths('test', 'props.c') check_srcs = [] check_srcs += join_paths('test', 'props_test.c') +install = not meson.is_subproject() + mod = shared_module('props', test_srcs, c_args : test_args, name_prefix : '', dependencies : test_deps, - install : true, + install : install, install_dir : inst_dir) version = get_option('version').split('.') @@ -73,21 +75,21 @@ manifest_ttl = configure_file( input : join_paths('test', 'manifest.ttl.in'), output : 'manifest.ttl', configuration : conf_data, - install : true, + install : install, install_dir : inst_dir) dsp_ttl = configure_file( input : join_paths('test', 'props.ttl'), output : 'timely.ttl', copy : true, - install : true, + install : install, install_dir : inst_dir) chunk_bin = configure_file( input : join_paths('test', 'chunk.bin'), output : 'chunk.bin', copy : true, - install : true, + install : install, install_dir : inst_dir) props_test = executable('props_test', check_srcs, diff --git a/meson_options.txt b/meson_options.txt index 020bd27..b95501b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -5,4 +5,4 @@ option('lv2libdir', type : 'string', value : 'lib/lv2') -option('version', type : 'string', value : '0.1.165') +option('version', type : 'string', value : '0.1.175') |