devernay / cminpack

A C/C++ rewrite of the MINPACK software (originally in FORTRAN) for solving nonlinear equations and nonlinear least squares problems
http://devernay.free.fr/hacks/cminpack/
145 stars 63 forks source link

Set postfix to _s when building as a static library #5

Closed edisongustavo closed 8 years ago

edisongustavo commented 8 years ago

This gives consistent behaviour with FindCMinpack which assumes that if the library ends with '_s' it is compiled statically.

It is useful mostly on windows since the #define CMINPACK_NO_DLL must be set in order to link with the library correctly.

devernay commented 8 years ago

thanks