mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:47:49 +08:00
14 lines
430 B
Diff
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}
|