[CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

Werner Smekal smekal at iap.tuwien.ac.at
Fri Apr 25 05:11:31 EDT 2008


Hi Miguel,
>
> The use of the windows or unix way is based solely on the following:
>
> IF(WIN32)
>  SET(WIN32_STYLE_FIND 1)
> ENDIF(WIN32)
> IF(MINGW)
>  SET(WIN32_STYLE_FIND 0)
>  SET(UNIX_STYLE_FIND 1)
> ENDIF(MINGW)
> IF(UNIX)
>  SET(UNIX_STYLE_FIND 1)
> ENDIF(UNIX)
>

I just want to mention, that the above code is wrong, since MINGW  
needs the WIN32_STYLE_FIND way to the unix way, only CYGWIN and MSYS  
need UNIX_STYLE_FIND 1 on WIN32. I already have a bug report file for  
that. Is there any chance that the fix gets into the 2.6.0 version of  
CMake?

Best Regards,
Werner

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: smekal at iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499



More information about the CMake mailing list