summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/perspective/CMakeLists.txt
blob: 92e11cb2e6eefd68f255010f62b6012752a24d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### digikamimageplugin_perspective (kpart)

tde_add_kpart( digikamimageplugin_perspective AUTOMOC
  SOURCES
    imageplugin_perspective.cpp perspectivetool.cpp perspectivewidget.cpp triangle.cpp matrix.cpp
  LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other files

install(
  FILES digikamimageplugin_perspective_ui.rc
  DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

tde_create_translated_desktop(
  SOURCE digikamimageplugin_perspective.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)