summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-26 18:00:07 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-05-31 08:28:06 +0200
commitb027d2ba57a8e0d6f0862e0a891ddd5dee4b02e2 (patch)
tree3ed894bd9a891337804367a09de500ff060be640 /fluid
parentd95dd7acc4af3a4bd521d151ba3576b91d8ace53 (diff)
Windows platform: use GDI+ to antialias oblique lines and curves.
Diffstat (limited to 'fluid')
-rw-r--r--fluid/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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))