ENH: fix for mingw
This commit is contained in:
parent
b55d109864
commit
8414c65862
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue