From 84d73a40b2cca0c3f6cac9e50712cb51cbc1b648 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 27 Aug 2013 06:21:51 +0400 Subject: Add lm_sensors optional support for ksysguard --- ksysguard/ksysguardd/Linux/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ksysguard/ksysguardd/Linux') 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 -- cgit v1.2.1