vcpkg/ports/fltk/add-link-libraries.patch
driver1998 ef75e05b22 [fltk] Windows ARM/ARM64 support (#6241)
* update fltk for arm/arm64-windows

* add windows libraries for arm/arm64
2019-04-29 00:44:22 -07:00

14 lines
430 B
Diff

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}