digikam/digikam-5.0.0_beta4-add_libastro.patch

47 lines
1.6 KiB
Diff

--- digikam-5.0.0-beta4/core/libs/dngwriter/tests/CMakeLists.txt 2016-03-09 18:30:31.194854884 +0100
+++ digikam-5.0.0-beta4/core/libs/dngwriter/tests/CMakeLists.txt.orig 2016-03-09 18:30:18.607840912 +0100
@@ -46,6 +46,7 @@
target_link_libraries(raw2dng
digikamcore
libdng
+ astro
${EXPAT_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
)
--- digikam-5.0.0-beta3/core/app/CMakeLists.txt.orig 2016-03-09 20:51:47.377576526 +0100
+++ digikam-5.0.0-beta3/core/app/CMakeLists.txt 2016-03-09 21:01:35.679674116 +0100
@@ -142,6 +142,9 @@
target_link_libraries(digikamcore PUBLIC ${MARBLE_LIBRARIES}
KF5::ItemModels)
+ target_link_libraries(digikamcore PUBLIC ${ASTRO_LIBRARIES}
+ KF5::ItemModels)
+
if(KF5Bookmarks_FOUND)
target_link_libraries(digikamcore PRIVATE KF5::Bookmarks)
endif()
@@ -362,6 +365,7 @@
queuemanager
advancedrename
importui
+ astro
Qt5::Core
Qt5::Gui
@@ -390,6 +394,7 @@
if(${MARBLE_FOUND})
target_link_libraries(digikamgui PUBLIC ${MARBLE_LIBRARIES})
+ target_link_libraries(digikamgui PUBLIC ${ASTRO_LIBRARIES})
endif()
if(APPLE)
@@ -454,6 +459,7 @@
digikamgui
libdng
+ astro
Qt5::Core
Qt5::Gui