Fix FindwxWidgets.cmake to work with mingw

This lets one use CLion with MSYS2 ;)
This commit is contained in:
Marek Roszko 2020-11-12 19:06:15 -05:00
parent 4d7aa2f9c9
commit c45edeb1f8
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ endif()
#=====================================================================
# Determine whether unix or win32 paths should be used
#=====================================================================
if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_HOST_UNIX )
if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_HOST_UNIX AND NOT MINGW)
set(wxWidgets_FIND_STYLE "win32")
else()
set(wxWidgets_FIND_STYLE "unix")