From 0aaded531828a2885bdaa3f3715062f069d738a3 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Sun, 14 Aug 2016 23:49:53 +0200 Subject: allow linking unbundled version of qm-dsp In the course, rename the bundled, built version libqm-dsp so it matches packaged versions. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 9edfde8a8c..cccb38929a 100644 --- a/wscript +++ b/wscript @@ -773,6 +773,10 @@ def options(opt): help='Turn on PT session import option') opt.add_option('--no-threaded-waveviews', action='store_true', default=False, dest='no_threaded_waveviews', help='Disable threaded waveview rendering') + opt.add_option( + '--qm-dsp-include', type='string', action='store', + dest='qm_dsp_include', default='/usr/include/qm-dsp', + help='directory where the header files of qm-dsp can be found') for i in children: opt.recurse(i) @@ -933,6 +937,8 @@ def configure(conf): if Options.options.use_external_libs: conf.define('USE_EXTERNAL_LIBS', 1) + conf.env.append_value( + 'CXXFLAGS', '-I' + Options.options.qm_dsp_include) if Options.options.boost_include != '': conf.env.append_value('CXXFLAGS', '-I' + Options.options.boost_include) -- cgit v1.2.3