summaryrefslogtreecommitdiffstats
path: root/tdeinit/CMakeLists.txt
blob: fe94e12180cc62654608dea71a1fc40674aca535 (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) 2010-2011 Timothy Pearson
#  kb9vqf (AT) pearsoncomputing.net
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_BINARY_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### tdeinit_phase1 (executable) #######################

tde_add_executable( tdeinit_phase1
  SOURCES phase1.cpp
  LINK tdecore-shared
  DESTINATION ${BIN_INSTALL_DIR}
)


##### tdeinit_displayconfig (executable) #######################
if( WITH_XRANDR )
  set( TDEINIT_DISPLAYCONFIG_OPTIONAL_LINK "tderandr-shared" )
endif ( )

tde_add_executable( tdeinit_displayconfig
  SOURCES displayconfig.cpp
  LINK tdecore-shared ${TDEINIT_DISPLAYCONFIG_OPTIONAL_LINK}
  DESTINATION ${BIN_INSTALL_DIR}
)