Open Virsacer opened 2 years ago
It should use the DEV_PREFIX only if it is set https://github.com/greenbone/pg-gvm/blob/main/CMakeLists.txt#L183
Then https://github.com/greenbone/pg-gvm/blob/main/CMakeLists.txt#L40 should use the same variable.
Sorry I don't get that. CMAKE_INSTALL_DEV_PREFIX
should only be used by developers during development. It is of no interest for users of a released version.
When only CMAKE_INSTALL_PREFIX
is set or only CMAKE_INSTALL_DEV_PREFIX
is set or they are set to different values the output contains something like this:
install prefix: /A
...
copying files to /B
Just saying: These should be consistent.
Hi, the build script outputs the value of
CMAKE_INSTALL_PREFIX
as "install prefix" but then actually usesCMAKE_INSTALL_DEV_PREFIX
instead...