Skip to content

Commit

Permalink
Apply expand_locations_and_make_variables to cache_entries (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
froody authored Aug 2, 2024
1 parent fb20967 commit 3debc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foreign_cc/cmake.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3debc17

Please sign in to comment.