cmLocalGenerator: add an override for CMakeFiles-using paths

Visual Studio doesn't use a `CMakeFiles` subdirectory for its support
directories. However, some codepaths expect to use paths which are
always under `CMakeFiles`. Add a mechanism to keep the path for such
files.
This commit is contained in:
Ben Boeckel
2025-05-23 15:22:35 +02:00
parent 35d32b8741
commit c95a8348ce
8 changed files with 31 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ std::string cmInstallCxxModuleBmiGenerator::GetScriptLocation(
if (config.empty()) {
config_name = "noconfig";
}
return cmStrCat(this->Target->GetSupportDirectory(),
return cmStrCat(this->Target->GetCMFSupportDirectory(),
"/install-cxx-module-bmi-", config_name, ".cmake");
}