mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +00:00
meson: check if cargo-c is installed
This commit is contained in:
parent
595616fe2d
commit
0754c98f9d
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ endif
|
||||||
|
|
||||||
cargo = find_program('cargo', version:'>=1.40')
|
cargo = find_program('cargo', version:'>=1.40')
|
||||||
cargo_wrapper = find_program('cargo_wrapper.py')
|
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()
|
system = build_machine.system()
|
||||||
if system == 'windows'
|
if system == 'windows'
|
||||||
|
|
Loading…
Reference in a new issue