[CMake] using CMAKE_BUILD_WITH_INSTALL_RPATH

Iker Arizmendi iker at research.att.com
Fri May 26 17:22:13 EDT 2006


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.

Regards,
Iker


-- 
Iker Arizmendi
AT&T Labs - Research
Speech and Image Processing Lab
e: iker at research.att.com
w: http://research.att.com





More information about the CMake mailing list