From b027d2ba57a8e0d6f0862e0a891ddd5dee4b02e2 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 26 Feb 2021 18:00:07 +0100 Subject: Windows platform: use GDI+ to antialias oblique lines and curves. --- fluid/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fluid') diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt index 48df3eed8..2377d721f 100644 --- a/fluid/CMakeLists.txt +++ b/fluid/CMakeLists.txt @@ -78,6 +78,10 @@ if (FLTK_HAVE_CAIRO) endif() endif (FLTK_HAVE_CAIRO) +if (USE_GDIPLUS) # can only be true on Windows + target_link_libraries (fluid gdiplus) +endif (USE_GDIPLUS) + # install fluid if (APPLE AND (NOT OPTION_APPLE_X11) AND (NOT OPTION_APPLE_SDL)) -- cgit v1.2.3