diff options
author | Brad King <brad.king@kitware.com> | 2020-03-18 18:20:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-24 14:10:06 (GMT) |
commit | 12b39aef7599a3ab6b1c1b9537d427839a9346b3 (patch) | |
tree | 36ccbd9854b82dd3c7aa25c4eb3f9a1ac6365916 /Source/cmLocalGenerator.cxx | |
parent | c98ec3692ea2a98edb6c7c26ffc2e0d12863df99 (diff) | |
download | CMake-12b39aef7599a3ab6b1c1b9537d427839a9346b3.zip CMake-12b39aef7599a3ab6b1c1b9537d427839a9346b3.tar.gz CMake-12b39aef7599a3ab6b1c1b9537d427839a9346b3.tar.bz2 |
Remove redundant calls to CollapseFullPath
Remove calls where it is known the input is already a collapsed
full path.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index a7799b6..cdee070 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1390,8 +1390,8 @@ void cmLocalGenerator::GetTargetFlags( for (cmSourceFile* sf : sources) { if (sf->GetExtension() == "def") { sharedLibFlags += defFlag; - sharedLibFlags += this->ConvertToOutputFormat( - cmSystemTools::CollapseFullPath(sf->ResolveFullPath()), SHELL); + sharedLibFlags += + this->ConvertToOutputFormat(sf->ResolveFullPath(), SHELL); sharedLibFlags += " "; } } |