Qt: Add missing link library on Windows
Vicki Pfau vi@endrift.com
Tue, 26 Feb 2019 21:17:19 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/CMakeLists.txt
→
src/platform/qt/CMakeLists.txt
@@ -286,7 +286,7 @@ if(QT_STATIC)
find_library(QTPCRE NAMES qtpcre2 qtpcre) if(WIN32) list(APPEND QT_LIBRARIES qwindows dwmapi imm32 uxtheme Qt5EventDispatcherSupport Qt5FontDatabaseSupport Qt5ThemeSupport) - set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ws2_32") + set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};version;winmm;ws2_32;iphlpapi") elseif(APPLE) find_package(Cups) find_package(Qt5PrintSupport)