
SET(digikamimageplugin_adjustcurves_PART_SRCS imageplugin_adjustcurves.cpp
                                              adjustcurvestool.cpp 
   )

KDE4_ADD_PLUGIN(digikamimageplugin_adjustcurves ${digikamimageplugin_adjustcurves_PART_SRCS})

TARGET_LINK_LIBRARIES(digikamimageplugin_adjustcurves
                      digikamcore
                      ${KDE4_KDECORE_LIBS}
                      ${KDE4_KDEUI_LIBS}
                      ${KDE4_KIO_LIBS}
                      ${QT_QTCORE_LIBRARY}
                      ${QT_QTGUI_LIBRARY}
                     )

INSTALL(TARGETS digikamimageplugin_adjustcurves DESTINATION ${PLUGIN_INSTALL_DIR})
INSTALL(FILES digikamimageplugin_adjustcurves_ui.rc DESTINATION ${DATA_INSTALL_DIR}/digikam)
INSTALL(FILES digikamimageplugin_adjustcurves.desktop DESTINATION ${SERVICES_INSTALL_DIR})
