CMake: Fix incorrect default plugin conditions on Windows
The correct variable to check is WIN32 rather than WINDOWS. This affects which plugins get automatically linked in a static Qt build. Amends a3b58a7844f77bd416fad8307f8333ff7c0efacf Fixes: QTBUG-95283 Change-Id: Idf78c78a1029f4d13fb460c07bef3d2669e55b09 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit 91cc4fd6994701c87329de866333eb0bda0e37ef) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
372391285d
commit
90351e40fd
@ -2,7 +2,7 @@ qt_internal_add_plugin(QNLMNIPlugin
|
||||
OUTPUT_NAME networklistmanager
|
||||
CLASS_NAME QNetworkListManagerNetworkInformationBackendFactory
|
||||
TYPE networkinformationbackends
|
||||
DEFAULT_IF WINDOWS AND QT_FEATURE_networklistmanager
|
||||
DEFAULT_IF WIN32 AND QT_FEATURE_networklistmanager
|
||||
SOURCES qnetworklistmanagernetworkinformationbackend.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::NetworkPrivate
|
||||
|
Loading…
x
Reference in New Issue
Block a user