summaryrefslogtreecommitdiffstats
path: root/examples/agent/CMakeLists.txt
blob: 17dc16272caf68ea9caac3b04477d2305e9a5750 (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
include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_BINARY_DIR}
    ${CMAKE_SOURCE_DIR}/agent
)

set(polkit_agent_example_SRCS
    main.cpp
    pkagentexample.cpp
    klistener.cpp
)

automoc4(polkit-agent-example polkit_agent_example_SRCS)

add_executable(polkit-agent-example
    ${polkit_agent_example_SRCS}
)

target_link_libraries(polkit-agent-example
    ${TQT_TQTCORE_LIBRARY}
    ${TQT_TQTGUI_LIBRARY}
    polkit-tqt-agent-1
    polkit-tqt-core-1
)