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/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ksysguard/ksysguardd/CMakeLists.txt') diff --git a/ksysguard/ksysguardd/CMakeLists.txt b/ksysguard/ksysguardd/CMakeLists.txt index 030700f49..9ec73cc93 100644 --- a/ksysguard/ksysguardd/CMakeLists.txt +++ b/ksysguard/ksysguardd/CMakeLists.txt @@ -11,13 +11,14 @@ # FIXME there is only Linux support +include( ConfigureChecks.cmake ) + if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" ) set( OS_SPECIFIC_DIR Linux ) else() tde_message_fatal( "Your operating system (${CMAKE_SYSTEM_NAME}) is not supported yet." ) endif() - add_subdirectory( ${OS_SPECIFIC_DIR} ) @@ -39,5 +40,6 @@ include_directories( tde_add_executable( ksysguardd AUTOMOC SOURCES Command.c conf.c ksysguardd.c PWUIDCache.c LINK ccont-static ksysguardd-static ${TDE_LIB_DIR}/libtdefakes_nonpic.a + ${SENSORS_LIBRARIES} DESTINATION ${BIN_INSTALL_DIR} ) -- cgit v1.2.3