From 69a1e07acb721cc2345e731f4b85a786a1d95323 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Wed, 8 Jul 2020 03:12:09 +0430 Subject: [PATCH] [meson] don't enable benchmark if is in nodownload wrap mode Fixes #2551 --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 62bddffdf..2f3db3155 100644 --- a/meson.build +++ b/meson.build @@ -349,7 +349,8 @@ if not get_option('tests').disabled() endif if not get_option('benchmark').disabled() and \ - ((host_machine.system() != 'windows' and \ + ((get_option('wrap_mode') != 'nodownload' and \ + host_machine.system() != 'windows' and \ not meson.is_subproject() and \ not meson.is_cross_build()) or get_option('benchmark').enabled()) subdir('perf')