aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 15:20:56 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 15:20:56 +0100
commit3088a5f39323c0ff75536e27e5e896a4f27b3c91 (patch)
treec8ea1685915fff243c3f03a9839cd1e74cce5698 /wscript
parentc32f3ca76a09c03fe9a022eb46e049e6fd5e2dbb (diff)
downloadjalv-3088a5f39323c0ff75536e27e5e896a4f27b3c91.tar.gz
jalv-3088a5f39323c0ff75536e27e5e896a4f27b3c91.tar.bz2
jalv-3088a5f39323c0ff75536e27e5e896a4f27b3c91.zip
Fix compilation with recent Gtkmm versions that require C++11
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 08df946..9455c70 100644
--- a/wscript
+++ b/wscript
@@ -50,6 +50,9 @@ def configure(conf):
autowaf.set_c99_mode(conf)
autowaf.display_header('Jalv Configuration')
+ if conf.check_cxx(cxxflags=["-std=c++0x"]):
+ conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) # for Gtkmm
+
autowaf.check_pkg(conf, 'lv2', atleast_version='1.14.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
atleast_version='0.24.0', mandatory=True)