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:
|
||||
if not mod.is_root:
|
||||
if mod.is_root:
|
||||
for toolchain in mod.tags.cmake:
|
||||
versions["cmake"] = toolchain.version
|
||||
|
||||
|
|
Loading…
Reference in New Issue