mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
cmMakefileTargetGenerator: make "target linked info" variable Fortran-specific
This variable is Fortran-specific, so clarify that through its name.
This commit is contained in:
@@ -243,7 +243,7 @@ void cmDependsFortran::LocateModules()
|
||||
// Load information about other targets.
|
||||
cmMakefile* mf = this->LocalGenerator->GetMakefile();
|
||||
std::vector<std::string> infoFiles;
|
||||
mf->GetDefExpandList("CMAKE_TARGET_LINKED_INFO_FILES", infoFiles);
|
||||
mf->GetDefExpandList("CMAKE_Fortran_TARGET_LINKED_INFO_FILES", infoFiles);
|
||||
for (std::string const& i : infoFiles) {
|
||||
std::string targetDir = cmSystemTools::GetFilenamePath(i);
|
||||
std::string fname = targetDir + "/fortran.internal";
|
||||
|
||||
@@ -1495,7 +1495,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
|
||||
*this->InfoFileStream
|
||||
<< "\n"
|
||||
"# Targets to which this target links which contain Fortran sources.\n"
|
||||
"set(CMAKE_TARGET_LINKED_INFO_FILES\n";
|
||||
"set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES\n";
|
||||
/* clang-format on */
|
||||
std::vector<std::string> dirs =
|
||||
this->GetLinkedTargetDirectories(this->GetConfigName());
|
||||
|
||||
Reference in New Issue
Block a user