Windows build: link gdiplus library on all Windows targets, not only mingw.

This commit is contained in:
jean-pierre charras 2018-11-01 16:03:21 +01:00
parent 601e0a31b5
commit ad99983672
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,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+" )