I am trying to build and install a library on 64-bit CentOS 7.2. For this purpose I am running
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
sudo make install
When I run the above commands I found that the installed library is in /usr/lib
instead of /usr/lib64
. Ideally, when I am compiling on a 64-bit Linux machine the installation directory is /usr/lib64
.