mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-27 02:43:28 +00:00
fix: allow cmake and ninja versions to be set
This commit is contained in:
parent
aec70d3d1a
commit
37383aaeba
|
@ -29,7 +29,7 @@ def _init(module_ctx):
|
||||||
}
|
}
|
||||||
|
|
||||||
for mod in module_ctx.modules:
|
for mod in module_ctx.modules:
|
||||||
if not mod.is_root:
|
if mod.is_root:
|
||||||
for toolchain in mod.tags.cmake:
|
for toolchain in mod.tags.cmake:
|
||||||
versions["cmake"] = toolchain.version
|
versions["cmake"] = toolchain.version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue