How to properly set CMAKE_INSTALL_PREFIX from the command-line

That should be (see the docs):

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Leave a Comment