Add missing dependency for static Qt builds

This commit is contained in:
stfnp 2019-04-10 11:34:48 +02:00 committed by GitHub
parent 8c3e093d05
commit e08db20db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()