################################################# # # (C) 2021 Michele Calgaro # Michele (DOT) Calgaro (AT) yahoo.it # # Improvements and feedback are welcome # # This file is released under GPL >= 2 # ################################################# include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/agent ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${TQT_INCLUDE_DIRS} ${POLKIT_GOBJECT_INCLUDE_DIRS} ${POLKIT_AGENT_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} ) ##### install agent source code ########################### install( FILES main.cpp pkagentexample.cpp pkagentexample.h tqtlistener.cpp tqtlistener.h DESTINATION ${POLKIT_TQT_EXAMPLE}/agent ) ##### agent executable ######################### tde_add_executable( polkit-tqt-agent-example AUTOMOC SOURCES main.cpp pkagentexample.cpp tqtlistener.cpp LINK polkit-tqt-agent-shared DESTINATION ${BIN_INSTALL_DIR} )