summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Linux/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2013-08-27 06:21:51 +0400
committerSlávek Banko <slavek.banko@axis.cz>2013-09-08 10:50:40 +0200
commit84d73a40b2cca0c3f6cac9e50712cb51cbc1b648 (patch)
treea019d70bdb17c8d56499d9f704d323e074178db1 /ksysguard/ksysguardd/Linux/CMakeLists.txt
parent54ebc6da596d3664170e0537e444ba6879fb2af7 (diff)
downloadtdebase-84d73a40b2cca0c3f6cac9e50712cb51cbc1b648.tar.gz
tdebase-84d73a40b2cca0c3f6cac9e50712cb51cbc1b648.zip
Add lm_sensors optional support for ksysguard
Diffstat (limited to 'ksysguard/ksysguardd/Linux/CMakeLists.txt')
-rw-r--r--ksysguard/ksysguardd/Linux/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ksysguard/ksysguardd/Linux/CMakeLists.txt b/ksysguard/ksysguardd/Linux/CMakeLists.txt
index b0cff4205..f1b02080c 100644
--- a/ksysguard/ksysguardd/Linux/CMakeLists.txt
+++ b/ksysguard/ksysguardd/Linux/CMakeLists.txt
@@ -15,6 +15,10 @@ if( WITH_I8K )
add_definitions( -DHAVE_I8K_SUPPORT )
endif()
+if( WITH_SENSORS )
+ add_definitions( -DHAVE_SENSORS_SENSORS_H )
+endif()
+
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/ksysguard/CContLib