Commit 5fa47842 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

Handle embeded manifests with ifort.

parent 07f029d6
...@@ -4154,7 +4154,13 @@ int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args, ...@@ -4154,7 +4154,13 @@ int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args,
{ {
return -1; 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; std::vector<cmStdString> rcCommand;
rcCommand.push_back(cmSystemTools::FindProgram("rc.exe")); rcCommand.push_back(cmSystemTools::FindProgram("rc.exe"));
std::vector<cmStdString> mtCommand; std::vector<cmStdString> mtCommand;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment