summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-25 19:33:40 -0400
committerDavid Robillard <d@drobilla.net>2016-07-25 19:33:40 -0400
commitf0ce0f3142eef6442e2be8c8c0f202ccb713cf92 (patch)
treeb056dcebef7023ae6990756cb9249ba9139d2916 /wscript
parent464563f1fbe9f0815a2e0be6f754038eb451745d (diff)
downloadganv-f0ce0f3142eef6442e2be8c8c0f202ccb713cf92.tar.gz
ganv-f0ce0f3142eef6442e2be8c8c0f202ccb713cf92.tar.bz2
ganv-f0ce0f3142eef6442e2be8c8c0f202ccb713cf92.zip
Add missing C++0x (C++11) flags
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index fc96c43..4ce3d03 100644
--- a/wscript
+++ b/wscript
@@ -39,6 +39,9 @@ def configure(conf):
autowaf.display_header('Ganv Configuration')
autowaf.set_c99_mode(conf)
+ conf.check_cxx(cxxflags=["-std=c++0x"])
+ conf.env.append_unique('CXXFLAGS', ['-std=c++0x'])
+
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK',
atleast_version='2.0.0', mandatory=True)
autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM',