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
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def _init(module_ctx):
}
for mod in module_ctx.modules:
if not mod.is_root:
if mod.is_root:
for toolchain in mod.tags.cmake:
versions["cmake"] = toolchain.version