[PATCH 3/3] edid-decode: build: Use override_find_program to help subproject usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This makes the following possible when edid-decode is a subproject:

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

Signed-off-by: Sebastian Wick <sebastian.wick@xxxxxxxxxx>
---
 meson.build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git ./meson.build ../meson.build
index e61d544..a3f4512 100644
--- ./meson.build
+++ ../meson.build
@@ -67,4 +67,9 @@ edid_decode = executable(
 	install: true,
 )
 
-install_man('edid-decode.1')
\ No newline at end of file
+meson.override_find_program(
+	'edid-decode',
+	edid_decode,
+)
+
+install_man('edid-decode.1')
-- 
2.45.0





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux