diff --git a/meson.build b/meson.build index a450196..b0657e4 100644 --- a/meson.build +++ b/meson.build @@ -10,6 +10,8 @@ wren_dep = dependency('wren', version: '>=0.2.0', 'default_library=static', 'build_testing=false', 'wren_with_cli=false', + 'wren_with_rand=' + get_option('wren_with_rand').to_string(), + 'wren_with_meta=' + get_option('wren_with_meta').to_string(), ], static: true, ) diff --git a/meson_options.txt b/meson_options.txt index 9f8f695..bb96719 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ -option('build_testing', type: 'boolean', value: false, yield: true) +option('build_testing', type: 'boolean', value: false) option('wren_with_cli', type: 'boolean', value: true, yield: true) option('wren_with_rand', type: 'boolean', value: false, yield: true) option('wren_with_meta', type: 'boolean', value: false, yield: true)