Explorar o código

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

Miguel A. Figueroa-Villanueva %!s(int64=17) %!d(string=hai) anos
pai
achega
6eddfbdd91
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      Modules/FindwxWidgets.cmake

+ 5 - 5
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