Re: [CMake] Install( Targets ) loses executable permission

2015-04-21 Thread J Decker
On Tue, Apr 21, 2015 at 9:21 PM, Hendrik Sattler wrote: > > > Am 22. April 2015 04:01:40 MESZ, schrieb J Decker : > >the library is built 'tasks.isp' with rwxr-xr-x > >but it's installed with rw-r--r-- > > > >(platform is rasberry pi) > > Normal libraries on linux don't need any executable bit se

Re: [CMake] Install( Targets ) loses executable permission

2015-04-21 Thread J. Caleb Wherry
You can pass in the below variable to CMake (or set it in you CMake file) and you should get what you want: -DCMAKE_INSTALL_SO_NO_EXE=0 -Caleb On Tue, Apr 21, 2015 at 10:01 PM, J Decker wrote: > Basically this is the command I use to install some plugins... > BINARY_OUTPUT_DIR is ${CMAKE_INSTA

Re: [CMake] Install( Targets ) loses executable permission

2015-04-21 Thread Hendrik Sattler
Am 22. April 2015 04:01:40 MESZ, schrieb J Decker : >the library is built 'tasks.isp' with rwxr-xr-x >but it's installed with rw-r--r-- > >(platform is rasberry pi) Normal libraries on linux don't need any executable bit set. That the linker creates files with that permission has probably other

[CMake] Install( Targets ) loses executable permission

2015-04-21 Thread J Decker
Basically this is the command I use to install some plugins... BINARY_OUTPUT_DIR is ${CMAKE_INSTALL_PREFIX}/bin project_target is a argument to the macro and it's 'plugins' install( TARGETS ${proj} · RUNTIME DESTINATION ${BINARY_OUTPUT_DIR}/${project_target} · LIBRARY DESTINAT