summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-01 18:10:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-01 18:10:49 (GMT)
commit5fa4784274171ed615c922811cd0a7723bee0465 (patch)
tree1fcd2a997ef69a17a0f88af44d686563a98e630a /Source/cmake.cxx
parent07f029d6ef9fd4a3cbbf781b14ef94fc11bb2e50 (diff)
downloadCMake-5fa4784274171ed615c922811cd0a7723bee0465.zip
CMake-5fa4784274171ed615c922811cd0a7723bee0465.tar.gz
CMake-5fa4784274171ed615c922811cd0a7723bee0465.tar.bz2
Handle embeded manifests with ifort.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index dcc3d50..d6bbcc1 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -4154,7 +4154,13 @@ int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args,
{
return -1;
}
- std::string manifestArg = "/MANIFESTFILE:";
+ std::string link = cmSystemTools::LowerCase(linkCommand[0]);
+ std::string manifestArg;
+ if(link.find("ifort") != link.npos)
+ {
+ manifestArg += "/MANIFEST ";
+ }
+ manifestArg += "/MANIFESTFILE:";
std::vector<cmStdString> rcCommand;
rcCommand.push_back(cmSystemTools::FindProgram("rc.exe"));
std::vector<cmStdString> mtCommand;