From f4236573c5e2dd6bb1caec46f338094edd3fd8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Hovind?= Date: Mon, 6 Nov 2023 15:55:45 +0100 Subject: [PATCH] Expand locations for cache entries --- 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 6f08f446..56bd7861 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 = expand_locations_and_make_variables(ctx, ctx.attr.generate_args, "generate_args", data), cmake_commands = cmake_commands,