summaryrefslogtreecommitdiffstats
path: root/kcm_gtk
diff options
context:
space:
mode:
Diffstat (limited to 'kcm_gtk')
-rw-r--r--kcm_gtk/CMakeLists.txt48
1 files changed, 24 insertions, 24 deletions
diff --git a/kcm_gtk/CMakeLists.txt b/kcm_gtk/CMakeLists.txt
index d5537c5..9133b39 100644
--- a/kcm_gtk/CMakeLists.txt
+++ b/kcm_gtk/CMakeLists.txt
@@ -1,27 +1,27 @@
-INCLUDE(KDE3Macros)
-INCLUDE(GtkQt)
-
-# Sources
-SET(kcm_kcmgtk_SOURCES
- kcmgtk.cpp)
-
-KDE3_AUTOMOC(${kcm_kcmgtk_SOURCES})
-
-# UI files
-SET(kcm_kcmgtk_UI
- kcmgtkwidget.ui
- mozillaprofile.ui
- emacsdetails.ui
- searchpaths.ui)
-
-KDE3_ADD_UI_FILES(kcm_kcmgtk_SOURCES ${kcm_kcmgtk_UI})
-
-GTKQT_KDE3_ADD_KPART(kcm_kcmgtk "${INSTALL_PATH_KCONTROL_MODULES}/kde3" ${kcm_kcmgtk_SOURCES})
-
-INSTALL(
- TARGETS kcm_kcmgtk
- DESTINATION ${INSTALL_PATH_KCONTROL_MODULES}/kde3
-)
+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} -lkdecore -lkdeui
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
INSTALL(
FILES kcmgtk.desktop