From: Frederic Cervenansky Date: Fri, 10 Sep 2010 14:17:04 +0000 (+0000) Subject: resolev bug when using MinGW under windows X-Git-Tag: CREATOOLS.2-0-3~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6167a8a1df98c0f05b1d614f709cc2f578cddab8;p=crea.git resolev bug when using MinGW under windows --- diff --git a/cmake/FindWxWidgetsWin32.cmake b/cmake/FindWxWidgetsWin32.cmake index a03d731..f497736 100644 --- a/cmake/FindWxWidgetsWin32.cmake +++ b/cmake/FindWxWidgetsWin32.cmake @@ -83,8 +83,11 @@ IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(MINGW) - SET(WIN32_STYLE_FIND 0) + SET(WIN32_STYLE_FIND 1) + if(UNIX) + SET(WIN32_STYLE_FIND 0) SET(UNIX_STYLE_FIND 1) + endif(UNIX) ENDIF(MINGW) IF(UNIX) SET(UNIX_STYLE_FIND 1)