FindwxWidgets.cmake: Treat CygWin as unix rather than undefined
This commit is contained in:
parent
b66a584a8a
commit
9ff394e72a
|
@ -198,9 +198,7 @@ endif()
|
|||
if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_HOST_UNIX )
|
||||
set(wxWidgets_FIND_STYLE "win32")
|
||||
else()
|
||||
if(CMAKE_HOST_UNIX OR MSYS)
|
||||
set(wxWidgets_FIND_STYLE "unix")
|
||||
endif()
|
||||
set(wxWidgets_FIND_STYLE "unix")
|
||||
endif()
|
||||
|
||||
#=====================================================================
|
||||
|
|
Loading…
Reference in New Issue