summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-10-09 19:07:35 (GMT)
committerBrad King <brad.king@kitware.com>2008-10-09 19:07:35 (GMT)
commit8bffd5af368ecbf8e49ee0b898dfa89635668859 (patch)
tree1feb9e512e63733e101c617ec0514921cdabc335 /Source/cmMakefileTargetGenerator.cxx
parent7876a5098be3b706a4a6033a1ded467a29a042cd (diff)
downloadCMake-8bffd5af368ecbf8e49ee0b898dfa89635668859.zip
CMake-8bffd5af368ecbf8e49ee0b898dfa89635668859.tar.gz
CMake-8bffd5af368ecbf8e49ee0b898dfa89635668859.tar.bz2
ENH: Simplify framework -F flag generation
This removes an unnecessary use of ConvertToOutputForExisting which is needed only on Windows to consider short-pathing.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 962cdfa..f50bd31 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1452,7 +1452,9 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags()
if(emitted.insert(*i).second)
{
flags += "-F";
- flags += this->LocalGenerator->ConvertToOutputForExisting(i->c_str());
+ flags += this->Convert(i->c_str(),
+ cmLocalGenerator::START_OUTPUT,
+ cmLocalGenerator::SHELL, true);
flags += " ";
}
}