Commit e8f6190a authored by Seungha Yang's avatar Seungha Yang 🐑

meson: Make orcc detectable from other subprojects

If we are a subproject (e.g., gst-build), this can make it possible
to use orcc by other subprojects.
parent 4e080ed8
......@@ -2,6 +2,11 @@ orcc = executable ('orcc', 'orcc.c',
install: true,
dependencies : [libm, orc_dep])
# Make orcc usable for other subprojects
if meson.has_exe_wrapper()
meson.override_find_program('orcc', orcc)
endif
orc_bugreport = executable ('orc-bugreport', 'orc-bugreport.c',
install: true,
dependencies : [orc_dep, orc_test_dep])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment