2
0
Fork 0
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:
James Sharpe 2024-06-11 15:24:13 +01:00 committed by GitHub
parent aec70d3d1a
commit 37383aaeba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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