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

COMP: Support configuring project specifying custom CMAKE_MACOSX_RPATH value #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcfr
Copy link

@jcfr jcfr commented Mar 31, 2022

This commit updates the build-system to set CMAKE_MACOSX_RPATH to TRUE
only if is not already defined in the current scope. The default
behavior remains unchanged.

This allows to successfully configure the project with the following
options so that RPATH with absolute paths is used for both the build
and install trees:

  -DCMAKE_MACOSX_RPATH:BOOL=FALSE
  -DCMAKE_INSTALL_NAME_DIR:PATH=/path/to/install/dir

…H value

This commit updates the build-system to set CMAKE_MACOSX_RPATH to TRUE
only if is not already defined in the current scope. The default
behavior remains unchanged.

This allows to successfully configure the project with the following
options so that RPATH with absolute paths is used for both the build
and install trees:

  -DCMAKE_MACOSX_RPATH:BOOL=FALSE
  -DCMAKE_INSTALL_NAME_DIR:PATH=/path/to/install/dir
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

Successfully merging this pull request may close these issues.

1 participant