
SET(digikamimageplugin_hotpixels_PART_SRCS blackframeparser.cpp 
                                           weights.cpp 
                                           hotpixelfixer.cpp
                                           blackframelistview.cpp
                                           imageplugin_hotpixels.cpp
                                           hotpixelstool.cpp 
   )

KDE4_ADD_PLUGIN(digikamimageplugin_hotpixels ${digikamimageplugin_hotpixels_PART_SRCS})

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

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