Open vacary opened 4 years ago
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
-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.
install_name_tool
Is there a solution to easily set the rpath ? Thanks
A stab in the dark: Have you tried compiling with -DCMAKE_POLICY_DEFAULT_CMP0068=NEW?
-DCMAKE_POLICY_DEFAULT_CMP0068=NEW
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