summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c0c71a603..e75c30131 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -544,6 +544,9 @@ endif (FLTK_USE_X11)
if (WIN32)
list (APPEND OPTIONAL_LIBS comctl32 ws2_32)
+ if (USE_GDIPLUS)
+ list (APPEND OPTIONAL_LIBS gdiplus)
+ endif ()
endif (WIN32)
if (HAVE_XINERAMA)