From e08db20db9220d00b556ddd0da889981b4fff59e Mon Sep 17 00:00:00 2001 From: stfnp Date: Wed, 10 Apr 2019 11:34:48 +0200 Subject: [PATCH] Add missing dependency for static Qt builds --- ports/qt5-base/vcpkg-cmake-wrapper.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/qt5-base/vcpkg-cmake-wrapper.cmake b/ports/qt5-base/vcpkg-cmake-wrapper.cmake index 64496cec091..6b5727755d2 100644 --- a/ports/qt5-base/vcpkg-cmake-wrapper.cmake +++ b/ports/qt5-base/vcpkg-cmake-wrapper.cmake @@ -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() \ No newline at end of file +endif()