Commit 1682e0af authored by Ben Boeckel's avatar Ben Boeckel

paraview: don't use @rpath/ in the build tree either

This doesn't work because when CMake goes to rewrite library references
upon installation, it detects common prefixes and rewrites them all.
However, with plugins having their modules beside them and main
libraries being elsewhere, all `@rpath/` prefixes get rewritten to the
same install name directory even though there could be different
LC_RPATH entries affecting each entry. To fix this until we move to
@loader_path and @executable_path everywhere, instead just avoid @rpath
completely for ParaView's build.
parent 6c0fc1bd
......@@ -158,6 +158,7 @@ superbuild_add_project(paraview
-DPARAVIEW_BUILD_TESTING:BOOL=OFF
-DCMAKE_INSTALL_LIBDIR:PATH=lib
-DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib
-DCMAKE_MACOSX_RPATH:BOOL=OFF
-DPARAVIEW_PLUGIN_ENABLE_OpenVR:BOOL=${openvr_enabled}
-DPARAVIEW_BUILD_QT_GUI:BOOL=${qt5_enabled}
-DPARAVIEW_ENABLE_FFMPEG:BOOL=${ffmpeg_enabled}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment