On Sunday 29 November 2009, j s wrote:
> Hello,
>
> I am running:
> cmake version 2.4-patch 7
>
> on Ubuntu 8.04 and I can't get this option to work, whether it is in
> CMakeLists.txt or on the command line.
>
>  rm CMakeCache.txt; cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE
> -DCMAKE_INSTALL_RPATH='$ORIGIN/../lib/shared' ../src/; grep RPATH
> CMakeCache.txt
>
> rm CMakeCache.txt ; cmake -DBUILD_WITH_INSTALL_RPATH=TRUE
> -DINSTALL_RPATH='$ORIGIN/../lib/shared' ../src/ ; grep RPATH CMakeCache.txt
>
> The man page says to use INSTALL_RPATH and BUILD_WITH_INSTALL_RPATH.

Please post a complete small example where the issue can be reproduced (and 
the properties are set via set_target_properties() ).

Thanks
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to