Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 7f0612a8de2779402bed61aac44871d2 > files > 2

indilib-0.9.8.1-5.mga5.src.rpm

diff -ur libindi-0.9.8/libs/indibase/alignment/CMakeLists.txt libindi-0.9.8.fix/libs/indibase/alignment/CMakeLists.txt
--- libindi-0.9.8/libs/indibase/alignment/CMakeLists.txt	2014-03-30 17:20:23.000000000 +0200
+++ libindi-0.9.8.fix/libs/indibase/alignment/CMakeLists.txt	2014-04-23 23:58:32.619150626 +0200
@@ -45,7 +45,7 @@ set (AlignmentDriver_SRCS
 add_library(AlignmentDriver SHARED ${AlignmentDriver_SRCS})
 target_link_libraries(AlignmentDriver dl)
 if (GSL_FOUND)
-	target_link_libraries(AlignmentDriver ${GSL_LIBRARIES})
+	target_link_libraries(AlignmentDriver ${GSL_LDFLAGS})
 endif (GSL_FOUND)
 set_target_properties(AlignmentDriver PROPERTIES VERSION ${CMAKE_INDI_VERSION_STRING} SOVERSION ${INDI_SOVERSION} OUTPUT_NAME indiAlignmentDriver)
 install(TARGETS AlignmentDriver LIBRARY DESTINATION ${LIB_DESTINATION})
@@ -62,7 +62,7 @@

 add_library(AlignmentClient ${AlignmentClient_SRCS})
 set_target_properties(AlignmentClient PROPERTIES OUTPUT_NAME indiAlignmentClient)
-install(TARGETS AlignmentClient ARCHIVE DESTINATION ${LIB_DESTINATION})
+install(TARGETS AlignmentClient LIBRARY DESTINATION ${LIB_DESTINATION})

 ##################################################
 ############ LoaderCLient test program ###########