Commit 4c4b3dfc authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: Fix up update-orc-dist target for the case where there are no orc targets

All those plugins might have been disabled, in which case meson
would complain about alias_target() needing at least two arguments.

Part-of: <!1418>
parent b428b735
Pipeline #173347 waiting for manual action with stages
in 57 seconds
......@@ -465,7 +465,7 @@ if have_orcc
]
endforeach
if meson.version().version_compare('>= 0.52')
if meson.version().version_compare('>= 0.52') and orc_update_targets.length() > 0
update_orc_dist_target = alias_target('update-orc-dist', orc_update_targets)
endif
endif
......
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