summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-22 19:13:51 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-22 19:13:51 -0800
commitec7e42194fa6267ac3ee5e6d3d8c4595b857220f (patch)
treeebe270c6cac4826e0616c9a884cac18bdf843d0b /CMakeLists.txt
parentd08662ca1465864afcaa72f144a5754d2afd0b3e (diff)
downloadtcpdump-ec7e42194fa6267ac3ee5e6d3d8c4595b857220f.tar.gz
Fix endif() argument to match if() argument.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96366fe7..f4b5921b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -566,7 +566,7 @@ if(WITH_CAPSICUM)
if(HAVE_CAP_INIT AND HAVE_CAP_GETHOSTBYADDR)
set(HAVE_CASPER TRUE)
set(TCPDUMP_LINK_LIBRARIES ${TCPDUMP_LINK_LIBRARIES} casper cap_dns)
- endif(HAVE_CAP_INIT)
+ endif(HAVE_CAP_INIT AND HAVE_CAP_GETHOSTBYADDR)
endif(HAVE_CAP_ENTER AND HAVE_CAP_RIGHTS_LIMIT AND
HAVE_CAP_IOCTLS_LIMIT AND HAVE_OPENAT)
endif(WITH_CAPSICUM)