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

DESTDIR not used if CMAKE_INSTALL_PREFIX is absolute directory #3837

Closed
td-mpcdf opened this issue Oct 4, 2023 · 1 comment
Closed

DESTDIR not used if CMAKE_INSTALL_PREFIX is absolute directory #3837

td-mpcdf opened this issue Oct 4, 2023 · 1 comment

Comments

@td-mpcdf
Copy link

td-mpcdf commented Oct 4, 2023

Describe the bug
The DESTDIR variable given to make install is used for installation but the post-installation script does not account for it if the CMAKE_INSTALL_PREFIX is given as absolute path. This changed from earlier versions (2.7.1 works).

To Reproduce
cmake -build -DCMAKE_INSTALL_PREFIX=/my/installation
make -C build
make -C build install DESTDIR=${HOME}

Expected behavior
Installation should be done into ${HOME}/my/installation which works correctly.
After the installation step, the generate-adios2-config.sh is called which does not account for the DESTDIR variable and complains about a missing adios2-config.cmake file.

Desktop (please complete the following information):

  • OS/Platform: SLES15
  • Build with defaults

Additional context

Following up
Was the issue fixed? Please report back.

@vicentebolea
Copy link
Collaborator

This was resolved in #3850

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