include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src/libs/dialogs ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters ${CMAKE_SOURCE_DIR}/src/libs/imageproperties ${CMAKE_SOURCE_DIR}/src/libs/themeengine ${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/setup ${CMAKE_SOURCE_DIR}/src/utilities/slideshow ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/tools ${CMAKE_BINARY_DIR}/src/libs/dialogs ) ##### dimgeditor library (static) tde_add_library( dimgeditor STATIC_PIC AUTOMOC SOURCES editorwindow.cpp imageiface.cpp imagewindow.cpp editorstackview.cpp editortooliface.cpp editortool.cpp editortoolsettings.cpp LINK dialog-static dimgcanvas-static dimgeditortools-static imagepluginswidgets-static rawimport-static ) ##### showfoto library (static) tde_add_library( showfoto STATIC_PIC AUTOMOC SOURCES editorwindow.cpp imageiface.cpp editorstackview.cpp editortooliface.cpp editortool.cpp editortoolsettings.cpp LINK dimg-static dialogshowfoto-static greycstoration-static dimgcanvas-static dimgeditortools-static rawimport-static metadatawidgets-static iccprofileswidgets-static imagepluginswidgets-static commonwidgets-static tdeprint-shared ) ##### other files install( FILES imageiface.h DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} ) install( FILES digikamimagewindowui.rc DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) tde_create_translated_desktop( SOURCE digikamimageplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )