edid-decode: check if linux/i2c-dev.h is available
commite52c38f0515adbc51e8b2c4d5addde2be4ea1067
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 20 Aug 2024 09:42:12 +0000 (20 11:42 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 20 Aug 2024 09:42:12 +0000 (20 11:42 +0200)
tree7b7e65559084724b9a9ba8fb5ea070ada085ba92
parent590a1ae57a3be3d590b5ab401086e7ec9672e3f5
edid-decode: check if linux/i2c-dev.h is available

Skip building ddc.cpp and disable related options if linux/i2c-dev.h
is not found. This makes it easier to build on non-linux environments.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
ddc.cpp
edid-decode.cpp
edid-decode.h
meson.build