ENH: Added support for MSYS as a unix style search.

This commit is contained in:
Miguel A. Figueroa-Villanueva 2008-06-17 18:02:24 -04:00
parent 5cd8c61db3
commit 6eddfbdd91
1 changed files with 5 additions and 5 deletions

View File

@ -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") SET(wxWidgets_FIND_STYLE "win32")
ELSE(WIN32 AND NOT CYGWIN) ELSE(WIN32 AND NOT CYGWIN AND NOT MSYS)
IF(UNIX) IF(UNIX OR MSYS)
SET(wxWidgets_FIND_STYLE "unix") SET(wxWidgets_FIND_STYLE "unix")
ENDIF(UNIX) ENDIF(UNIX OR MSYS)
ENDIF(WIN32 AND NOT CYGWIN) ENDIF(WIN32 AND NOT CYGWIN AND NOT MSYS)
#===================================================================== #=====================================================================
# WIN32_FIND_STYLE # WIN32_FIND_STYLE