summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 590a80f439f5315e4626efbc24be683b484df76b (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
36
37
38
39
40
41
#################################################
#
#  (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_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${POLKIT_TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### autostart file #####

install( FILES polkit-agent-tde.desktop
	       DESTINATION ${AUTOSTART_INSTALL_DIR} )


##### executables #####

tde_add_executable( polkit-agent-tde AUTOMOC
  SOURCES AuthDialogWidget.ui AuthDetailsWidget.ui AuthDialog.h AuthDialog.cpp
          polkit-listener.h polkit-listener.cpp polkit-agent-tde.h polkit-agent-tde.cpp main.cpp
  LINK tdecore-shared tdeui-shared polkit-tqt-core polkit-tqt-agent
  DESTINATION ${BIN_INSTALL_DIR}
)