Commit f2a67903 authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Using the same mechanism for the parallel quadprog plugin

parent 04381660
Import('env') Import('env')
env = env.Clone() env = env.Clone()
env.AppendUnique(LIBPATH = env['QUADPROG_DIR'])
env.AppendUnique(CPPPATH = env['QUADPROG_INC']) env.AppendUnique(CPPPATH = env['QUADPROG_INC'])
env.AppendUnique(LIBPATH = env['QUADPROG_DIR'])
env.AppendUnique(LIBS = env['QUADPROG_LIBS']) env.AppendUnique(LIBS = env['QUADPROG_LIBS'])
env.AppendUnique(LIBS = ['core']) env.AppendUnique(LIBS = ['core'])
...@@ -10,7 +10,7 @@ conf = Configure(env) ...@@ -10,7 +10,7 @@ conf = Configure(env)
sources = ['rational_fitter.cpp'] sources = ['rational_fitter.cpp']
if conf.CheckLib('quadprog++'): if conf.CheckLib(env['QUADPROG_LIBS']):
env.SharedLibrary('../../build/rational_fitter_quadprog', sources) env.SharedLibrary('../../build/rational_fitter_quadprog', sources)
#end #end
conf.Finish() conf.Finish()
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