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

William A. Hoffman billlist at nycap.rr.com
Wed Apr 26 08:10:44 EDT 2006


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



More information about the CMake mailing list