Skip to content

Commit

Permalink
Let cmake.configureArgs overwrite the default cmake args (#3762)
Browse files Browse the repository at this point in the history
Co-authored-by: snehara99 <[email protected]>
  • Loading branch information
andreeis and snehara99 authored May 20, 2024
1 parent 682f759 commit 2fb3c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/cmakeDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ export abstract class CMakeDriver implements vscode.Disposable {
const initial_common_flags = extra_args.concat(this.config.configureArgs);
const common_flags = initial_common_flags.includes("--warn-unused-cli") ? initial_common_flags : initial_common_flags.concat("--no-warn-unused-cli");
const define_flags = withoutCmakeSettings ? [] : this.generateCMakeSettingsFlags();
const final_flags = common_flags.concat(define_flags, init_cache_flags);
const final_flags = define_flags.concat(common_flags, init_cache_flags);

// Get expanded configure environment
const expanded_configure_env = await this.getConfigureEnvironment();
Expand Down

0 comments on commit 2fb3c60

Please sign in to comment.