diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-03 12:28:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-03 12:28:12 (GMT) |
commit | 45a4ddd85cab461711ecefc663296a984f88fb25 (patch) | |
tree | 144bf5eee770538eb341e5ddb182708f0550b4ec /Source | |
parent | b6918bd9a47030a64e36f031cd5131ce58e338a3 (diff) | |
download | CMake-45a4ddd85cab461711ecefc663296a984f88fb25.zip CMake-45a4ddd85cab461711ecefc663296a984f88fb25.tar.gz CMake-45a4ddd85cab461711ecefc663296a984f88fb25.tar.bz2 |
BUG: fix resource file with a full path
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 010e162..31b80c7 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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(); |