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

add correct rpath settings (for macos) #32

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

gaede
Copy link
Contributor

@gaede gaede commented Apr 17, 2024

  • see (LCIO PR#121)

BEGINRELEASENOTES

  • replace ilcsoft_default_rpath_settings.cmake with the one from LCIO
  • this fixes the rpath settings for all iLCSoft tools using this script to work on MacOS
  • (needed to install the key4hep stack on darwin)

ENDRELEASENOTES

if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR}")
endif("${isSystemDir}" STREQUAL "-1")
elseif(LCIO_SET_RPATH)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a remnant from copying or truly necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it is a dedicated CMake option in LCIO and we can probably remove this from here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

@tmadlener tmadlener merged commit daecca3 into iLCSoft:master Apr 29, 2024
4 checks passed
@andresailer andresailer mentioned this pull request May 16, 2024
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.

2 participants