~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to cmake/modules/FindSensors.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - Try to find the sensors directory library
 
2
# Once done this will define
 
3
#
 
4
#  SENSORS_FOUND - system has SENSORS
 
5
#  SENSORS_INCLUDE_DIR - the SENSORS include directory
 
6
#  SENSORS_LIBRARIES - The libraries needed to use SENSORS
 
7
 
 
8
FIND_PATH(SENSORS_INCLUDE_DIR sensors/sensors.h)
 
9
 
 
10
FIND_LIBRARY(SENSORS_LIBRARIES NAMES sensors)
 
11
 
 
12
include(FindPackageHandleStandardArgs)
 
13
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sensors DEFAULT_MSG SENSORS_INCLUDE_DIR SENSORS_LIBRARIES )
 
14
MACRO_LOG_FEATURE(SENSORS_FOUND "lm-sensors" "Sensors support for ksysguard" "http://www.lm-sensors.org" FALSE)
 
15
 
 
16
MARK_AS_ADVANCED(SENSORS_INCLUDE_DIR SENSORS_LIBRARIES)
 
17