Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMAKE_INSTALL_DEV_PREFIX ? #40

Open
Virsacer opened this issue Jul 20, 2022 · 4 comments
Open

CMAKE_INSTALL_DEV_PREFIX ? #40

Virsacer opened this issue Jul 20, 2022 · 4 comments

Comments

@Virsacer
Copy link

Hi,
the build script outputs the value of
CMAKE_INSTALL_PREFIX as "install prefix" but then actually uses
CMAKE_INSTALL_DEV_PREFIX instead...

@bjoernricks
Copy link
Contributor

It should use the DEV_PREFIX only if it is set https://github.com/greenbone/pg-gvm/blob/main/CMakeLists.txt#L183

@Virsacer
Copy link
Author

Then https://github.com/greenbone/pg-gvm/blob/main/CMakeLists.txt#L40 should use the same variable.

@bjoernricks
Copy link
Contributor

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.

@Virsacer
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants