diff mbox series

[v4l-utils] edid-decode: use override_find_program() to ease subproject use

Message ID 20241220191402.10699-1-contact@emersion.fr (mailing list archive)
State New
Headers show
Series [v4l-utils] edid-decode: use override_find_program() to ease subproject use | expand

Commit Message

Simon Ser Dec. 20, 2024, 7:14 p.m. UTC
The following will work when edid-decode is used as a subproject:

    subproject('edid-decode')
    edid_decode = find_program('edid-decode')

This got lost in the v4l-utils migration.

Signed-off-by: Simon Ser <contact@emersion.fr>
---
 utils/edid-decode/meson.build | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/utils/edid-decode/meson.build b/utils/edid-decode/meson.build
index c2ddd9583795..807d4e873c05 100644
--- a/utils/edid-decode/meson.build
+++ b/utils/edid-decode/meson.build
@@ -25,4 +25,6 @@  edid_decode = executable(
 	install: true,
 )
 
+meson.override_find_program('edid-decode', edid_decode)
+
 man_pages += [[ meson.current_source_dir(), 'edid-decode', 1 ]]