diff options
author | David Robillard <d@drobilla.net> | 2022-11-15 16:41:42 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-16 10:55:33 -0500 |
commit | a92c84a1a42b771b21384b4175192d3aee8e93ca (patch) | |
tree | 76b979a303291195e1e6c530df5863e1f4619610 | |
parent | 024646060fd1f6e1cec052745f6495a6d46a3d95 (diff) | |
download | drobillad-a92c84a1a42b771b21384b4175192d3aee8e93ca.tar.gz drobillad-a92c84a1a42b771b21384b4175192d3aee8e93ca.tar.bz2 drobillad-a92c84a1a42b771b21384b4175192d3aee8e93ca.zip |
Fix C++ language level subproject options
-rw-r--r-- | meson.build | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/meson.build b/meson.build index 2f205c6..e03cdf3 100644 --- a/meson.build +++ b/meson.build @@ -62,16 +62,44 @@ lv2dir = lv2_dep.get_variable( ) # LV2 plugins + blop_lv2 = subproject('blop.lv2', required: get_option('plugins')) -fomp_lv2 = subproject('fomp.lv2', required: get_option('plugins')) -mda_lv2 = subproject('mda.lv2', required: get_option('plugins')) + +fomp_lv2 = subproject( + 'fomp.lv2', + default_options: ['cpp_std=c++17'], + required: get_option('plugins'), +) + +mda_lv2 = subproject( + 'mda.lv2', + default_options: ['cpp_std=c++17'], + required: get_option('plugins'), +) # Libraries -ganv = subproject('ganv', required: get_option('ganv')) + +ganv = subproject( + 'ganv', + default_options: ['cpp_std=c++17'], + required: get_option('ganv'), +) + raul = subproject('raul', required: get_option('raul')) # Applications -ingen = subproject('ingen', required: get_option('ingen')) -jalv = subproject('jalv', required: get_option('jalv')) + +ingen = subproject( + 'ingen', + default_options: ['cpp_std=c++17'], + required: get_option('ingen'), +) + +jalv = subproject( + 'jalv', + default_options: ['cpp_std=c++17'], + required: get_option('jalv'), +) + # machina = subproject('machina', required: get_option('machina'))) patchage = subproject('patchage', required: get_option('patchage')) |