aboutsummaryrefslogtreecommitdiff
path: root/ports/fltk/add-link-libraries.patch
blob: 547c9717ca22c3a78efc0592567f440079f25f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMake/macros.cmake b/CMake/macros.cmake
index 4def62d..27b4901 100644
--- a/CMake/macros.cmake
+++ b/CMake/macros.cmake
@@ -67,6 +67,8 @@ macro(FL_ADD_LIBRARY LIBNAME LIBTYPE LIBFILES)
 		COMPILE_DEFINITIONS "FL_DLL"
 		)
 	endif (${LIBTYPE} STREQUAL "SHARED")
+
+    target_link_libraries(${LIBRARY_NAME} gdi32 gdiplus user32 advapi32 ole32 shell32 comdlg32)
     endif (MSVC)
 
     install(TARGETS ${LIBRARY_NAME}