mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +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
f5461577e7
commit
778d11ddd9
1 changed files with 1 additions and 1 deletions
|
|
@ -1398,7 +1398,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