Call meson.override_dependency()

This commit is contained in:
King_DuckZ 2022-06-06 16:04:45 +02:00
parent e1ccbeedc4
commit 6ad20e5051
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
project('wrenpp', 'cpp', project('wrenpp', 'cpp',
version: '0.1.3', version: '0.1.3',
meson_version: '>=0.49.2', meson_version: '>=0.54.0',
default_options: ['buildtype=release', 'cpp_std=c++20', 'b_ndebug=if-release'] default_options: ['buildtype=release', 'cpp_std=c++20', 'b_ndebug=if-release']
) )

View file

@ -31,3 +31,5 @@ wrenpp_dep = declare_dependency(
include_directories: public_incl, include_directories: public_incl,
compile_args: global_compiler_opts, compile_args: global_compiler_opts,
) )
meson.override_dependency(meson.project_name(), wrenpp_dep)