mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 17:00:09 +01:00
meson: Fix libsensors detection.
Fixes:5e71efef44("meson: Add lmsensors support") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit0f7ba5758b)
This commit is contained in:
parent
057d5bb658
commit
d61fffdc59
1 changed files with 1 additions and 1 deletions
|
|
@ -1382,7 +1382,7 @@ endif
|
|||
|
||||
_sensors = get_option('lmsensors')
|
||||
if _sensors != 'false'
|
||||
dep_lmsensors = cc.find_library('libsensors', required : _sensors == 'true')
|
||||
dep_lmsensors = cc.find_library('sensors', required : _sensors == 'true')
|
||||
if dep_lmsensors.found()
|
||||
pre_args += '-DHAVE_LIBSENSORS=1'
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue