summaryrefslogtreecommitdiff
path: root/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch')
-rw-r--r--sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch b/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch
new file mode 100644
index 0000000..ef4b990
--- /dev/null
+++ b/sci-libs/indilib-driver-gphoto/files/fix_zlib_link.patch
@@ -0,0 +1,11 @@
+--- indilib-driver-gphoto-9999/CMakeLists.txt 2012-07-02 20:56:07.839743312 +0200
++++ indilib-driver-gphoto-9999.new/CMakeLists.txt 2012-07-02 20:56:35.593266519 +0200
+@@ -43,7 +43,7 @@
+
+ add_executable(indi_gphoto_ccd ${indigphoto_SRCS})
+
+-target_link_libraries(indi_gphoto_ccd ${INDI_LIBRARIES} ${INDI_MAIN_LIBRARIES} ${CFITSIO_LIBRARIES} ${LIBGPHOTO2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} gphoto2_port)
++target_link_libraries(indi_gphoto_ccd ${ZLIB_LIBRARIES} ${INDI_LIBRARIES} ${INDI_MAIN_LIBRARIES} ${CFITSIO_LIBRARIES} ${LIBGPHOTO2_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${JPEG_LIBRARIES} gphoto2_port)
+ install(TARGETS indi_gphoto_ccd RUNTIME DESTINATION bin )
+
+ install(FILES indi_gphoto.xml DESTINATION ${INDI_DATA_DIR})