Warning, /plasma/libksysguard/cmake/FindSensors.cmake is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-2-Clause 0002 # SPDX-FileCopyrightText: 2005 Laurent Montel 0003 0004 # - Try to find the sensors directory library 0005 # Once done this will define 0006 # 0007 # SENSORS_FOUND - system has SENSORS 0008 # SENSORS_INCLUDE_DIR - the SENSORS include directory 0009 # SENSORS_LIBRARIES - The libraries needed to use SENSORS 0010 0011 FIND_PATH(SENSORS_INCLUDE_DIR sensors/sensors.h) 0012 0013 FIND_LIBRARY(SENSORS_LIBRARIES NAMES sensors) 0014 0015 include(FindPackageHandleStandardArgs) 0016 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sensors DEFAULT_MSG SENSORS_INCLUDE_DIR SENSORS_LIBRARIES ) 0017 0018 MARK_AS_ADVANCED(SENSORS_INCLUDE_DIR SENSORS_LIBRARIES) 0019