From 1143b07948340449158bddd3ec123cf2755b42e2 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Wed, 5 Jun 2019 16:44:34 +0200 Subject: [PATCH] CMake: MinGW build fix Change-Id: Ica47189fd8f1811ce9e726fa0416e6ea8ae7af63 Reviewed-by: Simon Hausmann --- src/network/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt index dc4f08e4cd..7a6bf8f9e9 100644 --- a/src/network/CMakeLists.txt +++ b/src/network/CMakeLists.txt @@ -428,7 +428,7 @@ extend_target(Network CONDITION QT_FEATURE_openssl AND QT_FEATURE_ssl AND WIN32 crypt32 ) -extend_target(Network CONDITION WIN32 LIBRARIES ws2_32) # special case: mkspecs/common/msvc-desktop.conf +extend_target(Network CONDITION WIN32 PUBLIC_LIBRARIES ws2_32) # special case: mkspecs/common/msvc-desktop.conf add_qt_docs( doc/qtnetwork.qdocconf