[CMake] MinGW and cmake issues...

Hendrik Sattler post at hendrik-sattler.de
Sat May 17 17:22:02 EDT 2008


Maik Beckmann schrieb:
> However, this
>   SET PATH=.;C:\mingw\bin;C:\cmake\bin
> looks strange, please try
>   SET PATH=%PATH%;C:\mingw\bin;C:\cmake\bin
>
> I use the combination WinXP + cmake-2.6.0 + mingw at least twice a week, 
> without problems.
>   

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.

HS



More information about the CMake mailing list