diff options
author | David Robillard <d@drobilla.net> | 2020-07-19 13:52:50 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-01 11:50:43 +0200 |
commit | 62cc04f4a703f034cbf81e19b26797e6271801ae (patch) | |
tree | 081e5971505fd70c5b3d60164c605d17a3971b4a /wscript | |
parent | 727020da03e5212e803373c20a4fbd9b4e51b55c (diff) | |
download | ingen-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-- | wscript | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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', |