[Cmake] non-hardwired .so file locations

William A. Hoffman bill.hoffman at kitware.com
Sun Oct 13 14:16:45 EDT 2002


You can also disable the rpath information with the advanced option:
CMAKE_SKIP_RPATH

-Bill


At 12:21 PM 10/13/2002 -0400, William A. Hoffman wrote:
>You can use the LD_LIBRARY_PATH variable to move executables and .so 
>libraries around.
>CMake adds run time path information, so that if you don't move the 
>libraries executables
>  will be able to find them.   But if you do move them you will have to 
> set the LD_LIBRARY_PATH.
>
>-Bill
>At 04:48 PM 10/13/2002 +0100, David Mellor wrote:
>>I am using CMake to create linux .so libraries, but the locations of these
>>directories are hardwared into my executables. Could anyone please advice on
>>how to remove this dependency?
>>
>>Many thanks,
>>David
>>
>>
>>_______________________________________________
>>Cmake mailing list
>>Cmake at public.kitware.com
>>http://public.kitware.com/mailman/listinfo/cmake
>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake






More information about the CMake mailing list