On Fri, Apr 22, 2011 at 9:57 AM, David Doria <daviddo...@gmail.com> wrote: >> I think the CMake page on RPATHs might be what you are looking for. >> >> http://www.cmake.org/Wiki/CMake_RPATH_handling > > Yea I read that, but I didn't really follow/see how to fix this > problem. Surely there is a "just copy the executable" option? > Did you try,
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) which is in one of the sections of that wiki article detailing using full RPATH for installed binaries. Marcus _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake