mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 11:03:02 +08:00
Add missing dependency for static Qt builds
This commit is contained in:
parent
8c3e093d05
commit
e08db20db9
@ -35,7 +35,7 @@ if("${_target_type}" STREQUAL "STATIC_LIBRARY")
|
||||
|
||||
if(MSVC)
|
||||
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
Netapi32.lib Ws2_32.lib Mincore.lib Winmm.lib Iphlpapi.lib Wtsapi32.lib Dwmapi.lib)
|
||||
Netapi32.lib Ws2_32.lib Mincore.lib Winmm.lib Iphlpapi.lib Wtsapi32.lib Dwmapi.lib Imm32.lib)
|
||||
|
||||
add_qt_library(Qt5::Core Qt5WindowsUIAutomationSupport qwindows qdirect2d)
|
||||
|
||||
@ -63,4 +63,4 @@ if("${_target_type}" STREQUAL "STATIC_LIBRARY")
|
||||
qcocoa)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user