aboutsummaryrefslogtreecommitdiffstats
path: root/extcap
diff options
context:
space:
mode:
Diffstat (limited to 'extcap')
-rw-r--r--extcap/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/CMakeLists.txt b/extcap/CMakeLists.txt
index 398d712efe..b07b58352c 100644
--- a/extcap/CMakeLists.txt
+++ b/extcap/CMakeLists.txt
@@ -91,8 +91,8 @@ if(BUILD_androiddump)
set(androiddump_LIBS
ui
${GLIB2_LIBRARIES}
- ${PCAP_LIBRARIES}
${WIN_WS2_32_LIBRARY}
+ $<$<BOOL:${PCAP_FOUND}>:pcap::pcap>
)
else()
message(FATAL_ERROR "You are trying to build androiddump with libpcap but do not have it")