
set(kritargbfloathdrplugin_PART_SRCS rgb_float_hdr.cc kis_rgb_f16_hdr_colorspace.cc kis_rgb_f32_hdr_colorspace.cc )

kde4_add_plugin(kritargbfloathdrplugin ${kritargbfloathdrplugin_PART_SRCS})

target_link_libraries(kritargbfloathdrplugin pigmentcms ${OPENEXR_LIBRARIES})

install(TARGETS kritargbfloathdrplugin  DESTINATION ${PLUGIN_INSTALL_DIR})

install(FILES
    srgbaf.ctlp
    scrgbaf.ctlp
    DESTINATION ${DATA_INSTALL_DIR}/pigmentcms/ctlprofiles)

########### install files ###############

install( FILES  kritargbfloathdrplugin.desktop  DESTINATION ${SERVICES_INSTALL_DIR})


