summaryrefslogtreecommitdiffstats
path: root/plugins/lirc/CMakeLists.txt
blob: 37f3bcf9163e28ee0a3032b70790a5a3e8b072e7 (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
29
30
31
32
33
34
35
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}
)


##### lirc (translations)

tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations/messages )


##### lirc (plugin)

tde_add_kpart( liblirc AUTOMOC
  SOURCES lircsupport.cpp lirc-configuration-ui.ui lirc-configuration.cpp listviewitem_lirc.cpp
  LINK tderadio-shared ${LIRC_LIBRARIES}
  DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
)


##### other data

INSTALL(
  FILES default-dot-lircrc
  DESTINATION ${DATA_INSTALL_DIR}/tderadio
)