summaryrefslogtreecommitdiff
blob: 5133f5fcd4a888a4e98e19e936d363d0f1353a75 (plain)
1
2
3
4
5
6
7
8
9
10
--- 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