Commit 83630d93 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

fix lensfun linkage with right rules

BUGS: 323284
FIXED-IN: 4.0.0
parent 3a201877
......@@ -116,9 +116,17 @@ ENDIF(Q_WS_X11)
# For Contents Aware Resizer and Lens auto-correction tools.
IF(GLIB2_FOUND)
TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES} ${liblqr_LIBS} ${liblensfun_LIBS})
TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES})
ENDIF(GLIB2_FOUND)
IF(LENSFUN_FOUND)
TARGET_LINK_LIBRARIES(digikamcore ${LENSFUN_LIBRARIES})
ENDIF(LENSFUN_FOUND)
IF(LQR-1_FOUND)
TARGET_LINK_LIBRARIES(digikamcore ${liblqr_LIBS})
ENDIF(LQR-1_FOUND)
SET_TARGET_PROPERTIES(digikamcore PROPERTIES VERSION ${DIGIKAM_VERSION_SHORT} SOVERSION ${DIGIKAM_VERSION_SHORT})
IF(WIN32)
......
......@@ -347,6 +347,8 @@ IF(LENSFUN_FOUND)
# To link under Solaris (see B.K.O #274484)
${MATH_LIBRARY}
${LENSFUN_LIBRARIES}
)
ENDIF()
......@@ -377,4 +379,3 @@ TARGET_LINK_LIBRARIES (testautocrop
${KDCRAW_LIBRARIES}
${OpenCV_LIBRARIES}
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment