aports/testing/mesonlsp/system-ada.patch
2024-09-09 11:37:49 +00:00

18 lines
736 B
Diff

diff --git a/meson.build b/meson.build
index a5682926..7c31f792 100644
--- a/meson.build
+++ b/meson.build
@@ -94,12 +94,10 @@ tree_sitter_ini_dep = tree_sitter_ini_proj.get_variable('tree_sitter_ini_dep')
sha256_proj = subproject('sha256', default_options: ['default_library=static'])
sha256_dep = sha256_proj.get_variable('sha256_dep')
-ada_proj = subproject('ada', default_options: ['default_library=static'])
-ada_dep = ada_proj.get_variable('ada_dep')
-
muon_proj = subproject('muon')
muon_dep = muon_proj.get_variable('muon_dep')
+ada_dep = dependency('ada', method: 'cmake', modules: ['ada::ada'])
nlohmann_json_dep = dependency('nlohmann_json')
curl_dep = dependency('libcurl')
archive_dep = dependency('libarchive')