[CMake] fixup_bundle fails for read-only .dylib files

Neil Williams neewill+cmake at gmail.com
Thu Feb 2 06:12:47 EST 2017


Hello,

We use perforce for our source control system, which has a typical
configuration where files need to be explicitly checked out prior to them
being changed. If they are not checked the files are marked as read only.

When trying to use fixup_bundle with a dylib in the perforce depot it
fails, as it copies the files from the source location into the .app bundle
and preserves the read-only flag, so the call to install_name_tool fails.

Using Cmake 2.8.11.2.

Should this be considered a cmake bug?

Any ideas/suggestions in the short term for a workaround?

Thanks,
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170202/d6504e60/attachment.html>


More information about the CMake mailing list