summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-19 13:52:50 +0200
committerDavid Robillard <d@drobilla.net>2020-08-01 11:50:43 +0200
commit62cc04f4a703f034cbf81e19b26797e6271801ae (patch)
tree081e5971505fd70c5b3d60164c605d17a3971b4a /wscript
parent727020da03e5212e803373c20a4fbd9b4e51b55c (diff)
downloadingen-62cc04f4a703f034cbf81e19b26797e6271801ae.tar.gz
ingen-62cc04f4a703f034cbf81e19b26797e6271801ae.tar.bz2
ingen-62cc04f4a703f034cbf81e19b26797e6271801ae.zip
Set third party packages as system dependencies
This suppresses warnings in their headers.
Diffstat (limited to 'wscript')
-rw-r--r--wscript18
1 files changed, 15 insertions, 3 deletions
diff --git a/wscript b/wscript
index d8fc3253..f213f86c 100644
--- a/wscript
+++ b/wscript
@@ -136,8 +136,16 @@ def configure(conf):
conf.check_pkg('raul-1 >= 1.0.0', uselib_store='RAUL')
conf.check_pkg('serd-0 >= 0.30.3', uselib_store='SERD', mandatory=False)
conf.check_pkg('sord-0 >= 0.12.0', uselib_store='SORD', mandatory=False)
- conf.check_pkg('portaudio-2.0', uselib_store='PORTAUDIO', mandatory=False)
- conf.check_pkg('sigc++-2.0', uselib_store='SIGCPP', mandatory=False)
+
+ conf.check_pkg('portaudio-2.0',
+ uselib_store = 'PORTAUDIO',
+ system = True,
+ mandatory = False)
+
+ conf.check_pkg('sigc++-2.0',
+ uselib_store = 'SIGCPP',
+ system = True,
+ mandatory = False)
conf.check_function('cxx', 'posix_memalign',
defines = '_POSIX_C_SOURCE=200809L',
@@ -182,7 +190,11 @@ def configure(conf):
conf.env.INGEN_BUILD_LV2 = 1
if not Options.options.no_jack:
- conf.check_pkg('jack >= 0.120.0', uselib_store='JACK', mandatory=False)
+ conf.check_pkg('jack >= 0.120.0',
+ uselib_store = 'JACK',
+ system = True,
+ mandatory = False)
+
conf.check_function('cxx', 'jack_set_property',
header_name = 'jack/metadata.h',
define_name = 'HAVE_JACK_METADATA',