diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-07-20 13:21:34 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-07-22 12:04:15 +0200 |
commit | 91cc4fd6994701c87329de866333eb0bda0e37ef (patch) | |
tree | fcc96377893deb5a73f6b604f3729acd58688289 /src/plugins/networkinformation | |
parent | fbf836657f06f2f302aaaf6bb6416f19d979f2aa (diff) |
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
Amends d385158d5213ef568b7629e2aa4a818016bbffac
Pick-to: 6.1 6.2
Fixes: QTBUG-95283
Change-Id: Idf78c78a1029f4d13fb460c07bef3d2669e55b09
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/networkinformation')
-rw-r--r-- | src/plugins/networkinformation/networklistmanager/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/networkinformation/networklistmanager/CMakeLists.txt b/src/plugins/networkinformation/networklistmanager/CMakeLists.txt index c4d5a5d494..1ffdfdec17 100644 --- a/src/plugins/networkinformation/networklistmanager/CMakeLists.txt +++ b/src/plugins/networkinformation/networklistmanager/CMakeLists.txt @@ -2,7 +2,7 @@ qt_internal_add_plugin(QNLMNIPlugin OUTPUT_NAME networklistmanager CLASS_NAME QNetworkListManagerNetworkInformationBackendFactory TYPE networkinformation - DEFAULT_IF WINDOWS AND QT_FEATURE_networklistmanager + DEFAULT_IF WIN32 AND QT_FEATURE_networklistmanager SOURCES qnetworklistmanagernetworkinformationbackend.cpp LIBRARIES Qt::NetworkPrivate |