26dd7fe4ed
Testing for "res_ninit" when WrapResolv.cmake has already checked for far more complex functions was pointless. Instead, just accept the library that was found by find_package() as good enough and rename the feature as "libresolv". Amends4a46ba1209
and68b625901f
. Change-Id: Ib5ce7a497e034ebabb2cfffd1762c0afa2fac6e0 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
24 lines
717 B
CMake
24 lines
717 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
if(QT_FEATURE_qdnslookup)
|
|
add_subdirectory(qdnslookup)
|
|
add_subdirectory(qdnslookup_appless)
|
|
endif()
|
|
if(QT_FEATURE_networkinterface)
|
|
add_subdirectory(qnetworkproxyfactory)
|
|
add_subdirectory(qnetworkinterface)
|
|
endif()
|
|
add_subdirectory(qnetworkproxy)
|
|
add_subdirectory(qnetworkdatagram)
|
|
add_subdirectory(qnetworkaddressentry)
|
|
add_subdirectory(qhostaddress)
|
|
if(QT_FEATURE_private_tests AND NOT MACOS AND NOT INTEGRITY)
|
|
add_subdirectory(qhostinfo)
|
|
endif()
|
|
if(QT_FEATURE_private_tests)
|
|
add_subdirectory(qauthenticator)
|
|
add_subdirectory(qnetworkinformation)
|
|
add_subdirectory(qnetworkinformation_appless)
|
|
endif()
|