kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38256
[PATCH v2] GDIPlus is required on all Windows targets
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb06aca24..c9c8784ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -639,7 +639,7 @@ include( MinGWResourceCompiler )
# Find GDI+ on windows if wxGraphicsContext is available, and only link gdiplus library
# if wxGraphicsContext not used, because the cairo printing system uses this library
-if( MINGW )
+if( WIN32 )
if( USE_WX_GRAPHICS_CONTEXT )
find_package( GdiPlus )
check_find_package_result( GDI_PLUS_FOUND "GDI+" )
Follow ups
References