diff options
-rw-r--r-- | src/network/CMakeLists.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt index 414a41581b..4a642835b6 100644 --- a/src/network/CMakeLists.txt +++ b/src/network/CMakeLists.txt @@ -151,7 +151,7 @@ extend_target(Network CONDITION UNIX socket/qnet_unix_p.h ) -extend_target(Network CONDITION QT_FEATURE_dnslookup AND UNIX AND NOT INTEGRITY +extend_target(Network CONDITION QT_FEATURE_dnslookup AND UNIX AND NOT INTEGRITY AND NOT ANDROID SOURCES kernel/qdnslookup_unix.cpp ) @@ -161,12 +161,6 @@ extend_target(Network CONDITION QT_FEATURE_dlopen AND UNIX ${CMAKE_DL_LIBS} ) -# 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 @@ -181,7 +175,6 @@ extend_target(Network CONDITION UNIX AND NOT QT_FEATURE_linux_netlink extend_target(Network CONDITION ANDROID AND QT_FEATURE_dnslookup SOURCES - # kernel/qdnslookup_unix.cpp # special case: No more need to remove this kernel/qdnslookup_android.cpp ) |