Closed Hellseher closed 3 years ago
Since this file is generated by CMake, you need to set this variable in the initial CMake invocation, e.g.:
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt ..
and then proceed with installation steps as described in README.md
.
Closing. Feel free to reopen if it still doesn't work.
cmake --install . --prefix=$PREFIX
Hi,
I may be wrong but while checking produced installation file
cmake_install.cmake
,CMAKE_INSTALL_PREFIX
is only checked in the begging and never used in the rest of the file where installation is hard-coded to/usr/local/
_cmakeinstall.cmake
How may I use a custom prefix installation path?