From e1ffa0f85820abea44639438fca2152290c87ee8 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Tue, 5 Jul 2022 12:06:00 +0200 Subject: [PATCH] meson.build: allow system nlohmann_json to satisfy dependency Signed-off-by: Stephan Lachnit --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 5a363fd0..7a9d62c2 100644 --- a/meson.build +++ b/meson.build @@ -276,8 +276,7 @@ endif if get_option('mangoapp') or get_option('mangoapp_layer') glfw3_dep = dependency('glfw3') - json_sp = subproject('nlohmann_json') - json_dep = json_sp.get_variable('nlohmann_json_dep') + json_dep = dependency('nlohmann_json') endif subdir('src')