From 3debc17d85e0fa545c2b4a6bb717d242817361ce Mon Sep 17 00:00:00 2001 From: Tom Birch Date: Fri, 2 Aug 2024 18:03:59 +1000 Subject: [PATCH] Apply expand_locations_and_make_variables to cache_entries (#1240) --- foreign_cc/cmake.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foreign_cc/cmake.bzl b/foreign_cc/cmake.bzl index d781dcdc5..281ce8b62 100644 --- a/foreign_cc/cmake.bzl +++ b/foreign_cc/cmake.bzl @@ -263,7 +263,7 @@ def _create_configure_script(configureParameters): install_prefix = "$$INSTALLDIR$$", root = root, no_toolchain_file = no_toolchain_file, - user_cache = dict(ctx.attr.cache_entries), + user_cache = expand_locations_and_make_variables(ctx, ctx.attr.cache_entries, "cache_entries", data), user_env = expand_locations_and_make_variables(ctx, ctx.attr.env, "env", data), options = attrs.generate_args, cmake_commands = cmake_commands,