--- a/CMakeLists.txt	2016-12-29 03:57:50.652989816 +0000
+++ b/CMakeLists.txt	2016-12-29 03:58:33.882632282 +0000
@@ -59,6 +59,7 @@
     cminpack.h minpack.h)
 
 add_library (cminpack ${cminpack_srcs})
+target_link_libraries (cminpack m)
 
 install (TARGETS cminpack 
    LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library
