summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-02-01 03:20:46 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-02-01 03:23:36 (GMT)
commit245a89d8b68525a769bdd4f71c184aa97fa498b3 (patch)
tree23a427ff47dd45d77d8d5a5f4056e1e49a670fad /Source/cmDependsFortran.cxx
parentaeb1b2ae3d1c6774c2c4175aa566085697eefe49 (diff)
downloadCMake-245a89d8b68525a769bdd4f71c184aa97fa498b3.zip
CMake-245a89d8b68525a769bdd4f71c184aa97fa498b3.tar.gz
CMake-245a89d8b68525a769bdd4f71c184aa97fa498b3.tar.bz2
cmMakefileTargetGenerator: make "target linked info" variable Fortran-specific
This variable is Fortran-specific, so clarify that through its name.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index ac93c90..95f2a6b 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -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";