From 40569e53c7f5eb0efca944c3c8520f9b6aa1ec5a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 22 May 2022 00:07:40 +0200 Subject: Fix MinGW build with shared libs (#445) Add missing lib 'gdiplus' to shared libs. --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) -- cgit v1.2.3