summaryrefslogtreecommitdiffstats
path: root/plugins/timeshifter/CMakeLists.txt
blob: d0c2e8123a4d8b3c4dcab5ed10ba222ba2708326 (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
28
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}
  ${CMAKE_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### timeshifter (icons and translations)

add_subdirectory( icons )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )


##### timeshifter (plugin)

tde_add_kpart( libtimeshifter AUTOMOC
  SOURCES timeshifter.cpp timeshifter-configuration-ui.ui timeshifter-configuration.cpp
  LINK tderadio-shared
  DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
)