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

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Fri Apr 25 11:12:24 EDT 2008


On Fri, Apr 25, 2008 at 5:11 AM, Werner Smekal wrote:
> 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

Can't say if it will get into the 2.6.0... maybe Bill can answer that.
However, I'll apply the change tonight.

Thanks for the report.

--Miguel


More information about the CMake mailing list