Commit cd60e5c8 authored by PACANOWSKI Romain's avatar PACANOWSKI Romain

added warning messages when optional libraries are not found

parent 157bcabc
......@@ -12,10 +12,11 @@ conf = Configure(env)
if conf.CheckLibWithHeader(env['CERES_LIB'], 'ceres/ceres.h', 'c++'):
for lib in env['CERES_OPT_LIB']:
for lib in env['CERES_OPT_LIB']:
if conf.CheckLib(lib):
env.AppendUnique(LIBS = lib)
print "<<WARNING>> COULD NOT FIND Library: " + lib
build_lib = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment