diff options
author | Mehdi Chinoune <mehdi.chinoune@hotmail.com> | 2022-04-11 05:23:50 (GMT) |
---|---|---|
committer | Mehdi Chinoune <mehdi.chinoune@hotmail.com> | 2022-04-11 05:23:50 (GMT) |
commit | 6fac8af9ca315f4dc71677b5d88d62c056e8cb9d (patch) | |
tree | b9b1ff0d404a84c00f115e27b50087a47e672d98 /Modules/FindwxWidgets.cmake | |
parent | 591426f5a0ff9d442753105031313e704b972d29 (diff) | |
download | CMake-6fac8af9ca315f4dc71677b5d88d62c056e8cb9d.zip CMake-6fac8af9ca315f4dc71677b5d88d62c056e8cb9d.tar.gz CMake-6fac8af9ca315f4dc71677b5d88d62c056e8cb9d.tar.bz2 |
FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGW
The MinGW variant has wx-config which make it easier to find.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r-- | Modules/FindwxWidgets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 63af9b6..f7996ba 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -218,7 +218,7 @@ endif() #===================================================================== # Determine whether unix or win32 paths should be used #===================================================================== -if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_CROSSCOMPILING) +if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT MINGW AND NOT CMAKE_CROSSCOMPILING) set(wxWidgets_FIND_STYLE "win32") else() set(wxWidgets_FIND_STYLE "unix") |