summaryrefslogtreecommitdiffstats
path: root/kcm_gtk
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 03:50:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 03:50:29 +0000
commit5cf5e6b8214ace7beb2836bce2f2b3e3324222ca (patch)
tree379e5636d96beeaa73a73fd1824b6ba2975d088e /kcm_gtk
parentb739bb3004a7aa23de0f9f5360011e81cd2f7b54 (diff)
downloadgtk-qt-engine-5cf5e6b8214ace7beb2836bce2f2b3e3324222ca.tar.gz
gtk-qt-engine-5cf5e6b8214ace7beb2836bce2f2b3e3324222ca.zip
Migrate gtk-qt-trinity to new CMake system (mostly)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1230450 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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