BUG: fix resource file with a full path
This commit is contained in:
parent
b6918bd9a4
commit
45a4ddd85c
@ -3835,7 +3835,7 @@ int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args,
|
|||||||
}
|
}
|
||||||
std::string manifestFile = targetName;
|
std::string manifestFile = targetName;
|
||||||
manifestFile += ".embed.manifest";
|
manifestFile += ".embed.manifest";
|
||||||
std::string fullPath=manifestFile;
|
std::string fullPath= cmSystemTools::CollapseFullPath(manifestFile.c_str());
|
||||||
fout << type << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID "
|
fout << type << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID "
|
||||||
"*/ 24 /* RT_MANIFEST */ " << "\"" << fullPath.c_str() << "\"";
|
"*/ 24 /* RT_MANIFEST */ " << "\"" << fullPath.c_str() << "\"";
|
||||||
fout.close();
|
fout.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user