On Mon, Apr 1, 2013 at 5:35 AM, G M wrote: > It does work as long as the destination directory already exists. > But I am thinking it might not work if a file (as opposed to a directory) is > being copied and the destination directory doesn't exist, then I am > concerned that what might happen is that cmake is going to copy the file and > give it the name of the intended directory rather than create that directory > and copy the file into it. > I'm no cmake expert, so if anyone agrees who is, could they suggest a fix > that would prevent that. >
The fix for that is to add a trailing / to the destination path. A filename cannot contain a / in its name. -- Earnie -- https://sites.google.com/site/earnieboyd ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public