From 5fa4784274171ed615c922811cd0a7723bee0465 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 1 Sep 2009 14:10:49 -0400 Subject: [PATCH] Handle embeded manifests with ifort. --- Source/cmake.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index dcc3d5035..d6bbcc13b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -4154,7 +4154,13 @@ int cmake::VisualStudioLinkIncremental(std::vector& 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 rcCommand; rcCommand.push_back(cmSystemTools::FindProgram("rc.exe")); std::vector mtCommand;