Skip to content

Commit

Permalink
meson.build: allow system nlohmann_json to satisfy dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Lachnit <[email protected]>
  • Loading branch information
stephanlachnit authored and jackun committed Jul 13, 2022
1 parent 5709832 commit e1ffa0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit e1ffa0f

Please sign in to comment.