From f26a156dd3e7784b0345789c5c85ad397ffb4ad2 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Sat, 4 May 2019 15:13:46 +0200 Subject: [PATCH] Fix special cases in network Change-Id: I66cc33afe3bfdf4e86dfeb0b341770355f59c0da Reviewed-by: Tobias Hunger --- src/network/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt index 380ed8e946..3ce9a3aa0a 100644 --- a/src/network/CMakeLists.txt +++ b/src/network/CMakeLists.txt @@ -152,11 +152,13 @@ extend_target(Network CONDITION UNIX ${CMAKE_DL_LIBS} ) -# special case: Do not add this to android! +# special case begin +# Do not add this to android! extend_target(Network CONDITION QT_FEATURE_dnslookup AND UNIX AND NOT INTEGRITY AND NOT ANDROID SOURCES kernel/qdnslookup_unix.cpp ) +# special case end extend_target(Network CONDITION QT_FEATURE_linux_netlink AND UNIX SOURCES