[CMake] CPack and executable permissions on linux

Kristian kristianonline28 at gmail.com
Thu Jun 9 04:35:20 EDT 2016


Thanks for all answers. I had to read the documentation before asking :-D

I changed the line for the executable from
> install(FILES ...
into
> install(PROGRAMS ...

That worked and as far as i can see is sufficient for my requirements.

2016-06-08 20:09 GMT+02:00 Domen Vrankar <domen.vrankar at gmail.com>:

> > This could probably be supported by adding USE_SOURCE_PERMISSIONS for
> > install(FILES ...) would you be willing to contribute a patch?
>
> Misses that this is not cmake-dev mailing list... Patch would still be
> appreciated but you could also file a feature request (for extending
> the documentation regarding default permissions and adding
> USE_SOURCE_PERMISSIONS) here:
> https://cmake.org/Bug/view_all_bug_page.php
> Currently registration is disabled so if you don't have an account I
> could do it for you.
>
> Regards,
> Domen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160609/39c501b9/attachment.html>


More information about the CMake mailing list