From 6ad20e5051506a5cbcf07ddda609beefca8419ae Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Mon, 6 Jun 2022 16:04:45 +0200 Subject: [PATCH] Call meson.override_dependency() --- meson.build | 2 +- src/meson.build | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 535e30b..c91d1c4 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('wrenpp', 'cpp', 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'] ) diff --git a/src/meson.build b/src/meson.build index 28627c7..fc11b51 100644 --- a/src/meson.build +++ b/src/meson.build @@ -31,3 +31,5 @@ wrenpp_dep = declare_dependency( include_directories: public_incl, compile_args: global_compiler_opts, ) + +meson.override_dependency(meson.project_name(), wrenpp_dep)