summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-02-22 19:10:37 -0800
committerGuy Harris <gharris@sonic.net>2023-02-22 22:38:19 -0800
commit008b90f6114916f5e70141d057aae00a265f1151 (patch)
tree3f45b858fde5fce680bfda43466f262d928f782d
parent10b807441e79f9c9e557bbb44ae0ecfe01ed5151 (diff)
downloadtcpdump-008b90f6114916f5e70141d057aae00a265f1151.tar.gz
CMake: balance cmake_push_check_state() and cmake_pop_check_state().
We didn't completely pop the check state after we finished the checks for libpcap.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa865703..2beaedb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -802,6 +802,7 @@ check_function_exists(pcap_set_optimizer_debug HAVE_PCAP_SET_OPTIMIZER_DEBUG)
check_function_exists(bpf_dump HAVE_BPF_DUMP)
cmake_pop_check_state()
+cmake_pop_check_state()
#
# We have libpcap.