Windows build: link gdiplus library on all Windows targets, not only mingw.
This commit is contained in:
parent
601e0a31b5
commit
ad99983672
|
@ -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+" )
|
||||
|
|
Loading…
Reference in New Issue