On Wednesday 10 July 2013, Stephen Kelly wrote: > Brad King wrote: ... > > CMake-generated export files > > are relocatable and do not even know the original install prefix > > Right, but the program may need it hardcoded for whatever reason. In the > case of Qt, several installation paths are hardcoded. For unit tests which > are to be run on the target, there may be reasons to hardcode the > installation path too.
If I'm not missing something, auto-generated install RPATHs (INSTALL_RPATH_USE_LINK_PATH) are wrong, since they use the path as it is seen from the host but not from the target. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers