MINGW-packages/mingw-w64-wxwidgets3.3/002-do-not-use-MSVC_NAMING-on-mingw.patch
مهدي شينون (Mehdi Chinoune) f6596358f0 [new-package] wxwidgets3.3 3.3.0
2025-06-07 05:49:58 +01:00

12 lines
438 B
Diff

--- a/build/cmake/functions.cmake
+++ b/build/cmake/functions.cmake
@@ -14,7 +14,7 @@
# Use the MSVC/makefile naming convention, or the configure naming convention,
# this is the same check as used in FindwxWidgets.
-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(WIN32_MSVC_NAMING 1)
else()
set(WIN32_MSVC_NAMING 0)