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

Fix bug in the CMake install interface #44

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

stephenswat
Copy link
Member

We previously relied on CMAKE_INSTALL_INCLUDEDIR being set, but this is not guaranteed unless GNUInstallDirs. CMake, of course, was quietly swallowing this code and producing invalid installations. This commit ensures that GNUInstallDirs is always loaded before the install interfaces are defined, and also uses the CMAKE_INSTALL_INCLUDEDIR variable more consistently.

We previously relied on `CMAKE_INSTALL_INCLUDEDIR` being set, but this
is not guaranteed unless `GNUInstallDirs`. CMake, of course, was quietly
swallowing this code and producing invalid installations. This commit
ensures that `GNUInstallDirs` is always loaded before the install
interfaces are defined, and also uses the `CMAKE_INSTALL_INCLUDEDIR`
variable more consistently.
@stephenswat stephenswat added the build Issues and improvements to the build system label Nov 15, 2024
@stephenswat stephenswat merged commit 7f4bbb6 into acts-project:main Nov 15, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and improvements to the build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant