Skip to content

Commit

Permalink
cmake: use variable expansion on generator args (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
lummax authored Oct 14, 2023
1 parent 8fc5dbb commit bac2c19
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 @@ -265,7 +265,7 @@ def _create_configure_script(configureParameters):
no_toolchain_file = no_toolchain_file,
user_cache = dict(ctx.attr.cache_entries),
user_env = expand_locations_and_make_variables(ctx, ctx.attr.env, "env", data),
options = attrs.generate_args,
options = expand_locations_and_make_variables(ctx, ctx.attr.generate_args, "generate_args", data),
cmake_commands = cmake_commands,
cmake_prefix = prefix,
include_dirs = inputs.include_dirs,
Expand Down

0 comments on commit bac2c19

Please sign in to comment.