summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-03 13:37:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-03 13:40:44 (GMT)
commitc4f2f011084a5e64e6f3745071ea56a286758682 (patch)
tree2bbf7374e9d329b6203d0abee3a38fe394425978 /Source/cmLocalGenerator.cxx
parent4684e64c84d49d9152ebab42c8bc4ffa57652041 (diff)
parent2d888e339064d39ae894b4df567441539c8c65da (diff)
downloadCMake-c4f2f011084a5e64e6f3745071ea56a286758682.zip
CMake-c4f2f011084a5e64e6f3745071ea56a286758682.tar.gz
CMake-c4f2f011084a5e64e6f3745071ea56a286758682.tar.bz2
Merge topic 'rename-mutating-getfullpath-overload'
2d888e3390 cmSourceFile: Rename mutating GetFullPath() overload Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3757
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 7177694..78133db 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1179,7 +1179,7 @@ void cmLocalGenerator::GetTargetFlags(
if (sf->GetExtension() == "def") {
linkFlags += defFlag;
linkFlags += this->ConvertToOutputFormat(
- cmSystemTools::CollapseFullPath(sf->GetFullPath()), SHELL);
+ cmSystemTools::CollapseFullPath(sf->ResolveFullPath()), SHELL);
linkFlags += " ";
}
}
@@ -1727,7 +1727,7 @@ bool cmLocalGenerator::GetRealDependency(const std::string& inName,
// Check for a source file in this directory that matches the
// dependency.
if (cmSourceFile* sf = this->Makefile->GetSource(inName)) {
- dep = sf->GetFullPath();
+ dep = sf->ResolveFullPath();
return true;
}