summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-18 22:38:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-18 22:38:16 -0600
commit54928e863500dda7674b5a6d425a77065095b6d3 (patch)
tree728c4bc62671724bd70cdf6f96a6838540b1cf79 /CMakeLists.txt
parent9af7bd1f0b11b37110f72e2fba0d75910d991270 (diff)
downloadtdelibs-54928e863500dda7674b5a6d425a77065095b6d3.tar.gz
tdelibs-54928e863500dda7674b5a6d425a77065095b6d3.zip
Add control daemon for CPU governor and display brightness
This allows kpowersave-nohal to function properly as a normal user
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37a05bf5c..f20b54c41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -770,6 +770,19 @@ if( WITH_PCRE )
endif( )
+##### set DBUS file locations ##################
+
+if( NOT DEFINED DBUS_SYSTEM_CONF_DIRECTORY )
+ set (DBUS_SYSTEM_CONF_DIRECTORY "/etc/dbus-1/system.d/" )
+ message( STATUS "Using " ${DBUS_SYSTEM_CONF_DIRECTORY} " for DBUS configuration files" )
+endif( NOT DEFINED DBUS_SYSTEM_CONF_DIRECTORY )
+
+if( NOT DEFINED DBUS_SERVICE_DIRECTORY )
+ set (DBUS_SERVICE_DIRECTORY "/usr/share/dbus-1/system-services/" )
+ message( STATUS "Using " ${DBUS_SERVICE_DIRECTORY} " for DBUS service files" )
+endif( NOT DEFINED DBUS_SERVICE_DIRECTORY )
+
+
if( WITH_NETWORK_MANAGER_BACKEND )
##### check for dbus-1 ###########################
pkg_search_module( DBUS dbus-1 )