meson.build: allow system nlohmann_json to satisfy dependency

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
pull/151/head^2
Stephan Lachnit 2 years ago committed by jackun
parent 5709832576
commit e1ffa0f858

@ -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')

Loading…
Cancel
Save