This pull request introduces user-configurable options for controlling RPATH settings in the CMake build system. Previously, these settings were forced in the CMakeLists.txt file, leading to inflexibility and potential conflicts, as reported in issue #1001. By making these options configurable, users have more control over the behavior of RPATH settings during the build process.
Changes Made
Introduce options for enabling macOS RPATH, skipping build-time RPATH, and building with install RPATH.
Modify the logic to use user-configured options and provide feedback messages regarding the state of each option.
Refactor the setting of install RPATH to be conditional upon whether the directory is considered a system directory.
Checklist
[ ] The documentation has been updated.
[x] If the PR solves a specific issue, it is set to be closed on merge.
Additional Notes
Please review and provide feedback.
This PR aims to address the reported issue and enhance the flexibility of RPATH settings in the CMake build system.
Description
This pull request introduces user-configurable options for controlling RPATH settings in the CMake build system. Previously, these settings were forced in the CMakeLists.txt file, leading to inflexibility and potential conflicts, as reported in issue #1001. By making these options configurable, users have more control over the behavior of RPATH settings during the build process.
Changes Made
Checklist
Additional Notes