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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2021-01-04 17:19:23 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2021-01-04 18:04:52 +0300
commit0754c98f9dc44b772abd85276c8114ee32d072bc (patch)
treec79dee04f0adb606d16497eeebe61fba0f50569f
parent595616fe2d7a4c5404e5726eeca05ad0b9a19bec (diff)
meson: check if cargo-c is installed
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 088dcd392..162ca80fc 100644
--- a/meson.build
+++ b/meson.build
@@ -12,6 +12,11 @@ endif
cargo = find_program('cargo', version:'>=1.40')
cargo_wrapper = find_program('cargo_wrapper.py')
+cargo_c = find_program('cargo-cbuild', required: false)
+
+if not cargo_c.found()
+ error('cargo-c missing, install it with: \'cargo install cargo-c\'')
+endif
system = build_machine.system()
if system == 'windows'