Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2019-01-30 13:44:01 +0300
committerSeungha Yang <seungha.yang@navercorp.com>2019-01-30 13:44:37 +0300
commitfe7885b13e14620bae8d408dde710916a4c7ebc0 (patch)
treedf284360e2ee78c04e9892501f998ceaa3909dec /meson.build
parent869e45d19c172221dce66a608de7d55d24993aa3 (diff)
meson: Add support orc fallback
Allow fallback to orc subproject if any. Additionally 'dependencies' keyword is removed from find_library, because it's invalid keyword for find_library.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 6416f1ce6..71a55ce0f 100644
--- a/meson.build
+++ b/meson.build
@@ -322,7 +322,8 @@ libsinc = include_directories('gst-libs')
have_orcc = false
orcc_args = []
# Used by various libraries/elements that use Orc code
-orc_dep = dependency('orc-0.4', version : orc_req, required : get_option('orc'))
+orc_dep = dependency('orc-0.4', version : orc_req, required : get_option('orc'),
+ fallback : ['orc', 'orc_dep'])
orcc = find_program('orcc', required : get_option('orc'))
if orc_dep.found() and orcc.found()
have_orcc = true