summaryrefslogtreecommitdiff
path: root/test/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'test/wscript')
-rw-r--r--test/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wscript b/test/wscript
index 0f90001f6..88df9177f 100644
--- a/test/wscript
+++ b/test/wscript
@@ -30,7 +30,8 @@ def configure(conf):
int main() {}
""", msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework%s' % boost_test_suffix, uselib_store = 'BOOST_TEST')
- conf.check_cfg(package='ImageMagick++', args='--cflags --libs', uselib_store='MAGICK', mandatory=True)
+ if conf.check_cfg(package='ImageMagick++', args='--cflags --libs', uselib_store='MAGICK', mandatory=False) is None:
+ conf.check_cfg(package='Magick++', args='--cflags --libs', uselib_store='MAGICK', mandatory=True)
def build(bld):
obj = bld(features='cxx cxxprogram')