From 6376bc6e4bd3618fa8827d6491645d10baaf1f08 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date: Thu, 11 Feb 2021 16:14:40 +0200
Subject: [PATCH] Revert "meson: relax meson version dependency when building
 with system lua"

meson can't find project options before executing the project() command :(

This reverts commit 8bff0cc630052b95e0855c5510342f3ff54f6e2b.
---
 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 989146f6..ce112f77 100644
--- a/meson.build
+++ b/meson.build
@@ -1,8 +1,7 @@
 project('wireplumber', ['c'],
   version : '0.3.60',
   license : 'MIT',
-  # we need 0.54 only to set default_library=static in the lua subproject
-  meson_version : get_option('system-lua') ? '>= 0.51.0' : '>= 0.54.0',
+  meson_version : '>= 0.54.0',
   default_options : [
     'warning_level=1',
     'buildtype=debugoptimized',
-- 
GitLab