summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-08-15 00:24:53 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-09-12 18:12:38 +0000
commitf96365db993c5ae7a13c0e0d70b6ce619cc69e1a (patch)
tree39dc1f5776c404624db0c7455532900403a13113
parent3c5841ace39ae37f76a25f9cbe4c2617f714e3a0 (diff)
tst_QDnsLookup: fix typo in CMakeListst.txt
There was an extra `q` before dnslookup. Found while trying to build tst_qdnslookup, the target wasn't seen by CMake/Ninja. Change-Id: Id594aab30dc9081fc269541561e0f2db5e615657 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 0ce51dee0e3c0d0e49c2ad211bdbbed03003d3a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/network/kernel/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/kernel/CMakeLists.txt b/tests/auto/network/kernel/CMakeLists.txt
index 52928e7aa1..b42a9724b3 100644
--- a/tests/auto/network/kernel/CMakeLists.txt
+++ b/tests/auto/network/kernel/CMakeLists.txt
@@ -1,7 +1,7 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
-if(QT_FEATURE_qdnslookup)
+if(QT_FEATURE_dnslookup AND (QT_FEATURE_libresolv OR WIN32))
add_subdirectory(qdnslookup)
add_subdirectory(qdnslookup_appless)
endif()