From 49777ffd4a2e5e508d52aa336c3e4599c42215c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Oct 2019 21:27:05 +0200 Subject: Set Gtk as a system dependency to suppress warnings --- plugins/eg-sampler.lv2/wscript | 5 ++++- plugins/eg-scope.lv2/wscript | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index 1ff4bbd..20233c7 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -22,7 +22,10 @@ def configure(conf): conf.check_pkg('lv2 >= 1.2.1', uselib_store='LV2') conf.check_pkg('sndfile >= 1.0.0', uselib_store='SNDFILE') - conf.check_pkg('gtk+-2.0 >= 2.18.0', uselib_store='GTK2', mandatory=False) + conf.check_pkg('gtk+-2.0 >= 2.18.0', + uselib_store='GTK2', + system=True, + mandatory=False) conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False) def build(bld): diff --git a/plugins/eg-scope.lv2/wscript b/plugins/eg-scope.lv2/wscript index 5c91da6..847d5d1 100644 --- a/plugins/eg-scope.lv2/wscript +++ b/plugins/eg-scope.lv2/wscript @@ -22,7 +22,10 @@ def configure(conf): conf.check_pkg('lv2 >= 1.2.1', uselib_store='LV2') conf.check_pkg('cairo >= 1.8.10', uselib_store='CAIRO') - conf.check_pkg('gtk+-2.0 >= 2.18.0', uselib_store='GTK2', mandatory=False) + conf.check_pkg('gtk+-2.0 >= 2.18.0', + uselib_store='GTK2', + system=True, + mandatory=False) def build(bld): bundle = 'eg-scope.lv2' -- cgit v1.2.1