kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38255
[PATCH] 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 a639fab0f..a17a912cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -638,7 +638,7 @@ find_package( Boost 1.54.0 REQUIRED COMPONENTS context system )
include( MinGWResourceCompiler )
# Find GDI+ on windows if wxGraphicsContext is available.
-if( MINGW AND USE_WX_GRAPHICS_CONTEXT )
+if( WIN32 AND USE_WX_GRAPHICS_CONTEXT )
find_package( GdiPlus )
check_find_package_result( GDI_PLUS_FOUND "GDI+" )
endif()
--
2.11.0
Follow ups