[CMake] Directory creation problem with MACOSX_BUNDLE

Andy Cedilnik andy.cedilnik at kitware.com
Mon Aug 21 08:12:36 EDT 2006


Hi Peter,

I am working on this, but I would still ask you to put a bug in a CMake 
bug tracker, just to have a record:

http://www.cmake.org/Bug

       Andy

Peter Carr wrote:
> 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
>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake




More information about the CMake mailing list