ENH: fix for mingw

This commit is contained in:
Bill Hoffman 2004-04-21 15:09:07 -04:00
parent b55d109864
commit 8414c65862
1 changed files with 414 additions and 405 deletions

View File

@ -66,9 +66,19 @@
## -testing of DLL linking under MS WIN32 ## -testing of DLL linking under MS WIN32
## ##
IF(WIN32) IF(WIN32)
SET(WIN32_STYLE_FIND 1)
ENDIF(MINGW)
IF(MINGW)
SET(WIN32_STYLE_FIND 0)
SET(UNIX_STYLE_FIND 1)
ENDIF(MINGW)
IF(UNIX)
SET(UNIX_STYLE_FIND 1)
ENDIF(MINGW)
IF(WIN32_STYLE_FIND)
## ###################################################################### ## ######################################################################
## ##
@ -289,9 +299,8 @@ IF(WIN32)
) )
ELSE(WIN32) ELSE(WIN32_STYLE_FIND)
IF (UNIX) IF (UNIX_STYLE_FIND)
## ###################################################################### ## ######################################################################
## ##
## UNIX/Linux specific: ## UNIX/Linux specific:
@ -383,10 +392,10 @@ IF (UNIX)
ELSE(UNIX) ELSE(UNIX_STYLE_FIND)
MESSAGE(SEND_ERROR "FindwxWindows.cmake: Platform unknown/unsupported by FindwxWindows.cmake. It's neither WIN32 nor UNIX") MESSAGE(SEND_ERROR "FindwxWindows.cmake: Platform unknown/unsupported by FindwxWindows.cmake. It's neither WIN32 nor UNIX")
ENDIF(UNIX) ENDIF(UNIX_STYLE_FIND)
ENDIF(WIN32) ENDIF(WIN32_STYLE_FIND)
IF(WXWINDOWS_LIBRARIES) IF(WXWINDOWS_LIBRARIES)