mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
Merge pull request #6040 from stfnp/fix-qt5-static-linking
Add missing dependency for static Qt builds on Windows
This commit is contained in:
commit
6a9371b571
@ -1,4 +1,4 @@
|
||||
Source: qt5-base
|
||||
Version: 5.12.1-3
|
||||
Version: 5.12.1-4
|
||||
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
|
||||
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl
|
||||
|
@ -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…
x
Reference in New Issue
Block a user