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

Build oce on MacOsX and RPATH #726

Open
vacary opened this issue May 5, 2020 · 1 comment
Open

Build oce on MacOsX and RPATH #726

vacary opened this issue May 5, 2020 · 1 comment

Comments

@vacary
Copy link

vacary commented May 5, 2020

I built oce-0.18.1 on MacOsX 10.14.6 without any problem. I installed into a user defines directory using
-DOCE_INSTALL_PREFIX=~/.local

When I want to load it into an executable, the library is not found and it seems that the RPATH is not correctly set in the oce libraries.

I tried many CMAKE options to try to set it, but it doesn't work. I also obverse that install_name_tool is never called.

Is there a solution to easily set the rpath ? Thanks

@hannesweisbach
Copy link

A stab in the dark: Have you tried compiling with -DCMAKE_POLICY_DEFAULT_CMP0068=NEW?

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

2 participants