[CMake] using CMAKE_BUILD_WITH_INSTALL_RPATH
Brad King
brad.king at kitware.com
Tue May 30 10:21:15 EDT 2006
Iker Arizmendi wrote:
> What is the correct way to set the install RPATH under
> CMake 2.4.2? At the moment I do the following within my
> project's top most CMakeLists.txt file:
>
> SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
> SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
>
> And the RPATH refuses to show itself in the installed
> binaries for my project.
What generator are you using and on what platform? Do you set
CMAKE_SKIP_RPATH anywhere? Is it in the cache?
-Brad
More information about the CMake
mailing list