summaryrefslogtreecommitdiffstats
path: root/kcm_gtk/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcm_gtk/CMakeLists.txt')
-rw-r--r--kcm_gtk/CMakeLists.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/kcm_gtk/CMakeLists.txt b/kcm_gtk/CMakeLists.txt
new file mode 100644
index 0000000..d5537c5
--- /dev/null
+++ b/kcm_gtk/CMakeLists.txt
@@ -0,0 +1,30 @@
+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
+)
+
+INSTALL(
+ FILES kcmgtk.desktop
+ DESTINATION share/applications/
+)
+