summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-01 00:55:14 +0000
committerDavid Robillard <d@drobilla.net>2011-09-01 00:55:14 +0000
commit3639292b898a13c451b4ab54bd9b6778dd1ea066 (patch)
tree83fb5c7d1e6787edcdb2fa7bfb2c450a574544ae
parent15b327e6b13fa4859cdfc3ed0985ee3d22350c6e (diff)
downloadsord-3639292b898a13c451b4ab54bd9b6778dd1ea066.tar.gz
sord-3639292b898a13c451b4ab54bd9b6778dd1ea066.tar.bz2
sord-3639292b898a13c451b4ab54bd9b6778dd1ea066.zip
Fix compilation with --test
git-svn-id: http://svn.drobilla.net/sord/trunk@157 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 4c7e77c..d011452 100644
--- a/wscript
+++ b/wscript
@@ -27,6 +27,7 @@ out = 'build'
def options(opt):
autowaf.set_options(opt)
opt.load('compiler_c')
+ opt.load('compiler_cxx')
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
help="Build unit tests")
opt.add_option('--dump', type='string', default='', dest='dump',
@@ -38,6 +39,7 @@ def configure(conf):
autowaf.display_header('Sord configuration')
conf.load('compiler_c')
+ conf.load('compiler_cxx')
conf.env.append_value('CFLAGS', '-std=c99')
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB',