CMake and RPATH

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

CMake and RPATH

Brennon Brimhall
I'm trying to install OpenCV onto an HPC system.  We're trying to make sure we use RPATH, as it helps our dependency management significantly with our environment modules system.  However, I've not had any success following the documentation available at  It appears that CMAKE_INSTALL_RPATH_USE_LINK_PATH isn't setting the RPATH properly per the output of `readelf -d`.  It appears that setting that option hasn't been altering the produced RPATH at all.  Is this a known problem?

Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: