summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindwxWindows.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake
index 5a16b4c..8c9c1d9 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)