[CMake] "-Wl,-rpath" versus "-R"

Christian Lang christian.lang at uni-bielefeld.de
Wed Apr 26 17:56:59 EDT 2006


Hi,

>At 02:14 AM 4/26/2006, Christian Lang wrote:
>  
>
>>Hi,
>>
>>    
>>
>>>What is the value of this variable on your sun:
>>>
>>>CMAKE_SYSTEM
>>>
>>>Should be the output of uname -s.
>>>
>>>-Bill
>>>
>>>
>>>      
>>>
>>CMAKE_SYSTEN => OSF1-V5.1
>>uname -s => SunOS
>>    
>>
>
>Well, that would be your problem?  Why does it think it is OSF1??
>It does this:
> EXEC_PROGRAM(uname ARGS -s OUTPUT_VARIABLE CMAKE_SYSTEM_NAME)
>
>I would clean your build tree and try again.  Start with a simple
>project and make sure CMAKE_SYSTEM is set correctly.
>
>-Bill
>  
>

Thanks a lot! Of course this was a stupid mistake; I did not clean the 
build tree after running on the alpha machine ... Now it works.

But just for interest: Is there a way to set the rpath-option ("rpath" 
or "R") by hand?

Christian


More information about the CMake mailing list