message: Do not force `BUILD_SHARED_LIBS` [Fix fix
diff: @@ -869,8 +869,11 @@ export abstract class CommonCMakeToolsBase implements api.CMakeToolsAPI {
  const variant_options = this.variants.activeConfigurationOptions;
  if (variant_options) {
  Object.assign(settings, variant_options.settings || {});
  + if (variant_options.linkage) {
  + // Don't set BUILD_SHARED_LIBS if we don't have a specific setting
  settings.BUILD_SHARED_LIBS = variant_options.linkage === 'shared';
  }
  + }
  const cmt_dir = path.join(this.binaryDir, 'CMakeTools');
  await util.ensureDirectory(cmt_dir);
  