From 3088a5f39323c0ff75536e27e5e896a4f27b3c91 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 15:20:56 +0100 Subject: Fix compilation with recent Gtkmm versions that require C++11 --- wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript') 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) -- cgit v1.2.1