From 37383aaeba8dfbdbf2b0f765c2102c3963d2c8ab Mon Sep 17 00:00:00 2001 From: James Sharpe Date: Tue, 11 Jun 2024 15:24:13 +0100 Subject: [PATCH] fix: allow cmake and ninja versions to be set --- foreign_cc/extensions.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foreign_cc/extensions.bzl b/foreign_cc/extensions.bzl index ca239241..9f221d72 100644 --- a/foreign_cc/extensions.bzl +++ b/foreign_cc/extensions.bzl @@ -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