From e7b19f64b18813391fb149b76c3086c43f3f315d Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sun, 8 Dec 2019 18:00:53 +0100 Subject: meson: Fix handling of 'demos' parameter Internally the build script evaluated the 'widgetry' parameter instead which is just a dependency of 'demos'. Evaluate the correct parameter to show the correct state in the build summary. Also drop the now obsolete duplicate check in peas-demo's meson script. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 5abb4bb..44938cd 100644 --- a/meson.build +++ b/meson.build @@ -206,7 +206,7 @@ if build_gtk_widgetry and not gtk_dep.found() build_gtk_widgetry = false endif -build_demos = get_option('widgetry') +build_demos = get_option('demos') if build_demos and not build_gtk_widgetry build_demos = false endif -- cgit v1.2.1