~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to cmake_modules/FindSensors.cmake

  • Committer: Fabrice Rey
  • Date: 2010-10-05 23:46:29 UTC
  • Revision ID: fabounet03@gmail.com-20101005234629-l0ud1g1is25tby3y
System-monitor: fixed the dependancy to libsensors + improved the info dialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
include(FindPackageHandleStandardArgs)
15
15
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sensors DEFAULT_MSG SENSORS_INCLUDE_DIR SENSORS_LIBRARIES )
16
16
 
17
 
MARK_AS_ADVANCED(SENSORS_INCLUDE_DIR SENSORS_LIBRARIES)
 
17
#MARK_AS_ADVANCED(SENSORS_INCLUDE_DIR SENSORS_LIBRARIES)
 
18
 
 
19
if (NOT "${SENSORS_FOUND}" STREQUAL "TRUE")  # si no ntrouves, ils sont a NOTFOUND, ce qui est idiot.
 
20
        set (SENSORS_INCLUDE_DIR "")
 
21
        set (SENSORS_LIBRARY_DIRS "")
 
22
        set (SENSORS_LIBRARIES "")
 
23
endif()