mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02: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')
|
_sensors = get_option('lmsensors')
|
||||||
if _sensors != 'false'
|
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()
|
if dep_lmsensors.found()
|
||||||
pre_args += '-DHAVE_LIBSENSORS=1'
|
pre_args += '-DHAVE_LIBSENSORS=1'
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue