~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to khotkeys/app/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(  ${KDEBASE_WORKSPACE_SOURCE_DIR}/khotkeys/shared/  )
 
2
 
 
3
 
 
4
########### next target ###############
 
5
 
 
6
set(khotkeys_KDEINIT_SRCS app.cpp ${libshared_SRCS})
 
7
 
 
8
 
 
9
 
 
10
kde4_add_kdeinit_executable( khotkeys ${khotkeys_KDEINIT_SRCS})
 
11
 
 
12
target_link_libraries(kdeinit_khotkeys  ${KDE4_KDE3SUPPORT_LIBS} )
 
13
if(X11_XTest_FOUND)
 
14
  target_link_libraries(kdeinit_khotkeys  ${X11_XTest_LIB}  )
 
15
endif(X11_XTest_FOUND)
 
16
 
 
17
install(TARGETS kdeinit_khotkeys  DESTINATION ${LIB_INSTALL_DIR} )
 
18
 
 
19
target_link_libraries( khotkeys kdeinit_khotkeys )
 
20
install(TARGETS khotkeys DESTINATION ${BIN_INSTALL_DIR})
 
21
 
 
22
########### next target ###############
 
23
 
 
24
set(kded_khotkeys_PART_SRCS kded.cpp ${libshared_SRCS})
 
25
 
 
26
 
 
27
 
 
28
kde4_add_plugin(kded_khotkeys ${kded_khotkeys_PART_SRCS})
 
29
 
 
30
 
 
31
target_link_libraries(kded_khotkeys ${KDE4_KDE3SUPPORT_LIBS} )
 
32
if(X11_XTest_FOUND)
 
33
    target_link_libraries(kded_khotkeys ${X11_XTest_LIB} )
 
34
endif(X11_XTest_FOUND)
 
35
 
 
36
install(TARGETS kded_khotkeys  DESTINATION ${PLUGIN_INSTALL_DIR} )
 
37
 
 
38
 
 
39
########### install files ###############
 
40
 
 
41
install( FILES khotkeys.desktop  DESTINATION  ${SERVICES_INSTALL_DIR}/kded )
 
42
 
 
43