Option in CMakeLists for Spack packaging
What does this MR do?
This option adds an option to CMake in order to adapt the build process for Spack packaging. This option doesn't modify the build process if it is not activated.
Author's checklist
-
Follow the Contribution Guidelines. -
Apply the appropriate labels.
Reviewer's checklist
All reviewers can help ensure accuracy, clarity, completeness, and adherence to the Contribution Guidelines.
Reviewer
-
Review by a code reviewer or other selected colleague to confirm accuracy, clarity, and completeness. This can be skipped for minor fixes without substantive content changes.
Maintainer
-
Review by assigned maintainer, who can always request/require the above reviews. -
Ensure a release milestone is set.