[cmake-commits] hoffman committed cmake.cxx 1.349 1.350

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 3 07:28:15 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv23330

Modified Files:
	cmake.cxx 
Log Message:
BUG: fix resource file with a full path


Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.349
retrieving revision 1.350
diff -u -d -r1.349 -r1.350
--- cmake.cxx	2 Jan 2008 14:32:29 -0000	1.349
+++ cmake.cxx	3 Jan 2008 12:28:12 -0000	1.350
@@ -3835,7 +3835,7 @@
     }
   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();



More information about the Cmake-commits mailing list