BUG: fix resource file with a full path

This commit is contained in:
Bill Hoffman 2008-01-03 07:28:12 -05:00
parent b6918bd9a4
commit 45a4ddd85c
1 changed files with 1 additions and 1 deletions

View File

@ -3835,7 +3835,7 @@ int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args,
}
std::string manifestFile = targetName;
manifestFile += ".embed.manifest";
std::string fullPath=manifestFile;
std::string fullPath= cmSystemTools::CollapseFullPath(manifestFile.c_str());
fout << type << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID "
"*/ 24 /* RT_MANIFEST */ " << "\"" << fullPath.c_str() << "\"";
fout.close();