include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/src/libs/dialogs
  ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters
  ${CMAKE_SOURCE_DIR}/src/libs/threadimageio
  ${CMAKE_SOURCE_DIR}/src/libs/widgets/common
  ${CMAKE_SOURCE_DIR}/src/libs/widgets/imageplugins
  ${CMAKE_SOURCE_DIR}/src/utilities/splashscreen
  ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor
  ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/rawimport
)


##### dimgcanvas library (static)

tde_add_library( dimgcanvas STATIC_PIC AUTOMOC
  SOURCES
    dimginterface.cpp colorcorrectiondlg.cpp canvas.cpp undocache.cpp undoaction.cpp
    undomanager.cpp imagepluginloader.cpp imageplugin.cpp
)


##### other files

install(
  FILES imageplugin.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
)
