[CMake] MinGW and cmake issues...

Hendrik Sattler post at hendrik-sattler.de
Sat May 17 17:41:06 EDT 2008


Maik Beckmann schrieb:
>> If I do a
>>   find_library ( SOMEVAR ws2_32 )
>>
>> then cmake finds the wrong one at "C:/WINDOWS/system32/ws2_32.dll"
>> (which makes no sense and fails later) until I set the LIB environment
>> variable to the mingw dirs. And setting INCLUDE might be as good.
>>     
>
> Sorry, you lost me.  How is this related to this thread?
>   
Means: environment variable play an overly important rules if something 
actually compiles. Maybe he has environment variables for another 
compiler set.

HS



More information about the CMake mailing list