summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2008-06-17 22:02:24 (GMT)
committerMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2008-06-17 22:02:24 (GMT)
commit6eddfbdd91ce5bf0c4ac68fdbb6f84f7e7929fde (patch)
tree2bc99b9a52efd64bfa52b17d64819fff98f4f5b8 /Modules/FindwxWidgets.cmake
parent5cd8c61db342b8b54cb39c5d6a37255702f4e047 (diff)
downloadCMake-6eddfbdd91ce5bf0c4ac68fdbb6f84f7e7929fde.zip
CMake-6eddfbdd91ce5bf0c4ac68fdbb6f84f7e7929fde.tar.gz
CMake-6eddfbdd91ce5bf0c4ac68fdbb6f84f7e7929fde.tar.bz2
ENH: Added support for MSYS as a unix style search.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 652005b..6b24d6c 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -174,13 +174,13 @@ ENDIF(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake")
#=====================================================================
#=====================================================================
-IF(WIN32 AND NOT CYGWIN)
+IF(WIN32 AND NOT CYGWIN AND NOT MSYS)
SET(wxWidgets_FIND_STYLE "win32")
-ELSE(WIN32 AND NOT CYGWIN)
- IF(UNIX)
+ELSE(WIN32 AND NOT CYGWIN AND NOT MSYS)
+ IF(UNIX OR MSYS)
SET(wxWidgets_FIND_STYLE "unix")
- ENDIF(UNIX)
-ENDIF(WIN32 AND NOT CYGWIN)
+ ENDIF(UNIX OR MSYS)
+ENDIF(WIN32 AND NOT CYGWIN AND NOT MSYS)
#=====================================================================
# WIN32_FIND_STYLE