From 6fac8af9ca315f4dc71677b5d88d62c056e8cb9d Mon Sep 17 00:00:00 2001 From: Mehdi Chinoune Date: Mon, 11 Apr 2022 06:23:50 +0100 Subject: FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGW The MinGW variant has wx-config which make it easier to find. --- Modules/FindwxWidgets.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v0.12