summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kpartsaver/CMakeLists.txt
blob: b546c5d15be1629f4eb72c73a3e2f3736b241cea (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
#################################################
#
#  (C) 2011 Golubev Alexander
#  fatzer2 (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

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

link_directories(
  ${TQT_LIBRARY_DIRS}
)

##### desktop files #############################

install( FILES kpartsaver.desktop 
    DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )

##### kpart_cde ##################################

tde_add_executable( kpartsaver.kss AUTOMOC
  SOURCES kpartsaver.cpp configwidget.ui
  LINK kscreensaver-shared kio-shared
  DESTINATION ${BIN_INSTALL_DIR}
)