[CMake] Remove all rpaths on install

Orion Poplawski orion at cora.nwra.com
Fri Feb 20 13:13:26 EST 2009


We need to make sure that all rpaths are removed on install when 
building Fedora rpms.  How can we achieve this?  We still see /usr/lib64 
being added (twice!) to items:


  0x000000000000000f (RPATH)              Library rpath: 
[/usr/lib64:/usr/lib64]

Get "/usr/lib:/usr/lib" on 32-bit machines.

This is with cmake 2.6.3 RC 13

-DINSTALL_RPATH="" (or -DCMAKE_INSTALL_RPATH="" which should it be?) 
seems to have no effect.




-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the CMake mailing list