summaryrefslogtreecommitdiffstats
path: root/kcm_gtk/CMakeLists.txt
blob: 21a27658615a5ba82ca3ab847747e5830dd5463e (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
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )

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

  link_directories(
    ${TQT_LIBRARY_DIRS}
  )

  tde_add_kpart( kcm_kcmgtk AUTOMOC
    SOURCES kcmgtk.cpp
        kcmgtkwidget.ui
        mozillaprofile.ui
        emacsdetails.ui
        searchpaths.ui
    LINK ${TQT_LIBRARIES} -ltdecore -ltdeui
    DESTINATION ${PLUGIN_INSTALL_DIR}
  )

INSTALL(
	FILES kcmgtk.desktop
	DESTINATION share/applications/
)