[CMake] cpack help

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Nov 14 20:26:48 EST 2006


On 2006-11-14 16:43-0800 David Blado wrote:

> I used this to install the libs (and it did so w/ 775...I'd like it to
> be 755):
> INSTALL(TARGETS ${LIB_NAME}
>  RUNTIME DESTINATION bin CONFIGURATIONS release
>  LIBRARY DESTINATION lib CONFIGURATIONS release
>  ARCHIVE DESTINATION lib CONFIGURATIONS release
> )
>
> Any hints?

Use the PERMISSIONS attribute of the INSTALL command.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list