Closed hmueller01 closed 6 years ago
According to https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html this is the desired behaviour of cmake.
Use CMAKE_INSTALL_PREFIX
variable instead.
You are right. But then INSTALL.md is a bit misleading. Maybe it is better to remove the DESTDIR
note. The CMAKE_INSTALL_PREFIX
works as expected.
I think this line should look like
cmake -DVSIM=ON -DMANPAGES=OFF -DCMAKE_INSTALLATION_PREFIX=/usr/local ..
instead of
cmake -DVSIM=ON -DMANPAGES=OFF -DCMAKE_INSTALLATION_PREFIX=/usr/local ...
Gets installed in
/usr/local/usr/local/...