summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/hwmanager/CMakeLists.txt')
-rw-r--r--kcontrol/hwmanager/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/CMakeLists.txt b/kcontrol/hwmanager/CMakeLists.txt
new file mode 100644
index 000000000..dc1265e49
--- /dev/null
+++ b/kcontrol/hwmanager/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2012 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES hwmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_iccconfig (module) ####################
+
+set_source_files_properties( hwmanager.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" )
+
+tde_add_kpart( kcm_hwmanager AUTOMOC
+ SOURCES
+ hwmanager.cpp deviceiconview.cpp devicepropsdlg.cpp hwmanagerbase.ui hwmanager.skel
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)