588c2b0
diff -ur indi-apogee-1.0/CMakeLists.txt indi-apogee-1.0.new/CMakeLists.txt
588c2b0
--- indi-apogee-1.0/CMakeLists.txt	2010-02-18 22:23:13.000000000 +0100
588c2b0
+++ indi-apogee-1.0.new/CMakeLists.txt	2010-02-18 22:23:00.000000000 +0100
588c2b0
@@ -39,8 +39,8 @@
588c2b0
 add_executable(indi_apogeeu_ccd ${indiapogee_SRCS})
588c2b0
 add_executable(indi_apogeee_ccd ${indiapogee_SRCS})
588c2b0
 
588c2b0
-target_link_libraries(indi_apogeeu_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEU_LIBRARIES} z)
588c2b0
-target_link_libraries(indi_apogeee_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEE_LIBRARIES} z)
588c2b0
+target_link_libraries(indi_apogeeu_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEU_LIBRARIES} m z)
588c2b0
+target_link_libraries(indi_apogeee_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEE_LIBRARIES} m z)
588c2b0
 
588c2b0
 if (NOVA_FOUND)
588c2b0
   target_link_libraries(indi_apogeeu_ccd ${NOVA_LIBRARIES})