[CMake] Directory creation problem with MACOSX_BUNDLE

Peter Carr Peter.Carr at rsise.anu.edu.au
Sun Aug 20 21:28:40 EDT 2006


Hi,
I'm running into problems using the MACOSX_BUNDLE parameter with
ADD_EXECUTABLE.  For some reason, I'm getting the error message:
/usr/bin/ld: can't create output file: test.app/Contents/MacOS/test (No
such file or directory, errno = 2)

The target directory has read/write enabled for everyone, so I don't
think it's a permission issue (and cmake doesn't have problems creating
any of the other files) .  If I create the necessary directory structure
myself (ie test.appl/Contents/MacOS) before running 'make', then
everything works as expected.

Using:
OSX 10.4.7 and cmake 2.4-patch 2

Thanks.

Peter





More information about the CMake mailing list