summaryrefslogtreecommitdiffstats
path: root/tdekbdledsync/CMakeLists.txt
blob: 1fd78e7b3bc9ed9976e8779f23cc00f75bb83ba1 (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
#################################################
#
#  (C) 2013 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}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### tdekbdledsync (executable) ################

tde_add_executable( tdekbdledsync
  SOURCES getfd.c main.cpp
  LINK udev X11
  DESTINATION ${BIN_INSTALL_DIR}
)

install( CODE "execute_process( COMMAND chown 0 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )
install( CODE "execute_process( COMMAND chmod 4755 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )