From df265bb33ae3f7c24c099f79b43558ac9f3e20b6 Mon Sep 17 00:00:00 2001 From: James Sharpe Date: Tue, 18 Jun 2024 16:26:29 +0100 Subject: [PATCH] Revert "cmake: use variable expansion on generator args" (#1219) --- 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 6f08f4461..d781dcdc5 100644 --- a/foreign_cc/cmake.bzl +++ b/foreign_cc/cmake.bzl @@ -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 = expand_locations_and_make_variables(ctx, ctx.attr.generate_args, "generate_args", data), + options = attrs.generate_args, cmake_commands = cmake_commands, cmake_prefix = prefix, include_dirs = inputs.include_dirs,