FindwxWidgets.cmake: Treat CygWin as unix rather than undefined

This commit is contained in:
Simon Richter 2016-02-15 18:50:48 +01:00
parent b66a584a8a
commit 9ff394e72a
1 changed files with 1 additions and 3 deletions

View File

@ -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()
#=====================================================================