summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-05-22 00:07:40 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-05-22 00:07:40 +0200
commit40569e53c7f5eb0efca944c3c8520f9b6aa1ec5a (patch)
tree036eb5264df414a487d347aef008eb7094820b04 /src
parentad96df9e93086d49826bce8eebe643d7db25aa3f (diff)
Fix MinGW build with shared libs (#445)
Add missing lib 'gdiplus' to shared libs.
Diffstat (limited to 'src')
-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)