summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 09:22:42 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 09:22:42 +0100
commit35153978b8e168e86932b33e11b72661cdf3db21 (patch)
tree65d55024209c37cfe977ed7f07f51128ad41e4bf
parentc21278b8aba3c2a48899cd11cb053c219426e056 (diff)
downloadganv-35153978b8e168e86932b33e11b72661cdf3db21.tar.gz
ganv-35153978b8e168e86932b33e11b72661cdf3db21.tar.bz2
ganv-35153978b8e168e86932b33e11b72661cdf3db21.zip
Fix compilation on MacOS
Apparently libsigc++ requires explicitly using C++11 here.
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 880dba7..0371288 100644
--- a/wscript
+++ b/wscript
@@ -40,6 +40,7 @@ def configure(conf):
conf.load('compiler_cxx', cache=True)
conf.load('autowaf', cache=True)
autowaf.set_c_lang(conf, 'c99')
+ autowaf.set_cxx_lang(conf, 'c++11')
if Options.options.ultra_strict:
autowaf.add_compiler_flags(conf.env, 'c', {