diff options
Diffstat (limited to 'plugins/lirc/CMakeLists.txt')
-rw-r--r-- | plugins/lirc/CMakeLists.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/lirc/CMakeLists.txt b/plugins/lirc/CMakeLists.txt new file mode 100644 index 0000000..f0e35a1 --- /dev/null +++ b/plugins/lirc/CMakeLists.txt @@ -0,0 +1,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 po ) + + +##### 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 +) |