cmake install libraries into /usr/lib64

vtwinracersp2
Posts: 2
Joined: Tue Dec 04, 2012 12:25 am

cmake install libraries into /usr/lib64

Post by vtwinracersp2 »

i'm using fedora 17 with gcc4.4.7

i'm trying to compile bullet with debugging on and i want it to install the libraries into /usr/lib64.

i'm not clear as to what flag/option i should be using. i thought it would be

-DCMAKE_INSTALL_RPATH=/usr/lib64

but it still installs into /usr/lib

this is the command that i have been using.
cmake -DBUILD_DEMOS=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_RPATH=/usr/lib64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" .