summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-12 12:21:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-12 12:21:37 (GMT)
commit359d7c19e522465b7ceadcfc69a25ffc799d344f (patch)
tree2d750ae1ee1521ee94818aba65aa047d8be050fb
parent1b9630782ab69a7096bd91e58a4e21fa7baade9b (diff)
parent6fac8af9ca315f4dc71677b5d88d62c056e8cb9d (diff)
downloadCMake-359d7c19e522465b7ceadcfc69a25ffc799d344f.zip
CMake-359d7c19e522465b7ceadcfc69a25ffc799d344f.tar.gz
CMake-359d7c19e522465b7ceadcfc69a25ffc799d344f.tar.bz2
Merge topic 'FindwxWidgets-mingw'
6fac8af9ca FindwxWidgets: set wxWidgets_FIND_STYLE to unix on MINGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7162
-rw-r--r--Modules/FindwxWidgets.cmake2
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")