diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake index 5a16b4c0b..8c9c1d910 100644 --- a/Modules/FindwxWindows.cmake +++ b/Modules/FindwxWindows.cmake @@ -68,14 +68,14 @@ IF(WIN32) SET(WIN32_STYLE_FIND 1) -ENDIF(MINGW) +ENDIF(WIN32) IF(MINGW) SET(WIN32_STYLE_FIND 0) SET(UNIX_STYLE_FIND 1) ENDIF(MINGW) IF(UNIX) SET(UNIX_STYLE_FIND 1) -ENDIF(MINGW) +ENDIF(UNIX) IF(WIN32_STYLE_FIND)