fix: re-add lost changes

This commit is contained in:
2026-09-30 18:38:07 +02:00
parent 42026ba5e5
commit 3c359ce25f
11 changed files with 292 additions and 54 deletions
+10
View File
@@ -0,0 +1,10 @@
find_library(SENSORS_LIBRARY NAMES sensors REQUIRED)
find_path(SENSORS_INCLUDE_DIR NAMES sensors/sensors.h REQUIRED)
if(NOT TARGET Sensors::Sensors)
add_library(Sensors::Sensors UNKNOWN IMPORTED)
set_target_properties(Sensors::Sensors PROPERTIES
IMPORTED_LOCATION "${SENSORS_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${SENSORS_INCLUDE_DIR}"
)
endif()