From cac30711834d343d36b0bea1138562beeb22340f Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Thu, 30 Jul 2020 16:25:42 +0430 Subject: [PATCH] [meson] minor, use null_dep one more place --- perf/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/meson.build b/perf/meson.build index aec519f68..56a399540 100644 --- a/perf/meson.build +++ b/perf/meson.build @@ -1,7 +1,7 @@ google_benchmark = subproject('google-benchmark') google_benchmark_dep = google_benchmark.get_variable('google_benchmark_dep') -ttf_parser_dep = dependency('', required: false) +ttf_parser_dep = null_dep if add_languages('rust', required: false, native: true) ttf_parser_dep = subproject('ttf-parser').get_variable('ttf_parser_dep') endif