Does FindMPI affects INSTALL_RPATH?

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

Does FindMPI affects INSTALL_RPATH?

Knut Klingbeil
Dear list,

sorry for the stupid question, but I wonder whether I am doing something

I have to use some rpath information that is stored in the LDFLAGS
environment variable of the hosting system. A serial compilation works
fine, the rpath is correctly set in the build and install binary.

However, changing to a parallel compilation and using FindMPI, the rpath
of the libs is only available in the build binary. I can fix it by
manually setting -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON, but is this on

Thanks and Cheers, Knut

Dr. Knut Klingbeil

Dept. for Physical Oceanography and Instrumentation
Leibniz Institute for Baltic Sea Research
Seestrasse 15
18119 Rostock-Warnemuende, Germany

mail : [hidden email]
phone: +49 - 381 - 5197 - 153
fax  : +49 - 381 - 5197 - 114


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: