vcpkg/ports/fltk/add-link-libraries.patch

14 lines
430 B
Diff
Raw Normal View History

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}