[CMake] using CMAKE_BUILD_WITH_INSTALL_RPATH

Iker Arizmendi iker at research.att.com
Tue May 30 11:21:48 EDT 2006


Explicitly setting CMAKE_SKIP_RPATH to OFF
addressed the problem.

Thanks,
Iker

Brad King wrote:
> 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


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



More information about the CMake mailing list