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

cmake_minimum_required version affects rpath linking on macOS #27

Open
vvolkl opened this issue Dec 11, 2022 · 0 comments
Open

cmake_minimum_required version affects rpath linking on macOS #27

vvolkl opened this issue Dec 11, 2022 · 0 comments

Comments

@vvolkl
Copy link

vvolkl commented Dec 11, 2022

Opening this issue here as it affects a number of ilcsoft packages: When requiring only cmake version >= 2.8, policy CMP0042 is set to OLD and MACOSX_RPATH is disabled unless explictly enabled, which may lead to issues and confusion, especially when building with spack, which relies on rpath linking.

Setting this policy to NEW would be helpful, but a number of packages depend on ROOT, which nowadays requires CMake 3.16 (3.19 on macOS) anyway. The question is thus if for those packages the cmake_minimum_required version can be bumped or compatibility with older version of ROOT is necessary ( ROOT started requiring cmake v3 in 6-08-00: root-project/root@e99a0e0).

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

No branches or pull requests

1 participant