From a19391b94b437ad85e1bcffcb2fd582daae081bf Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Thu, 27 Jan 2011 11:33:20 -0600 Subject: [PATCH] Fix typo in PCAPTests.cmake With this correction, the configure tests should now be pulling in the correct user-specified libpcap headers --- cmake/PCAPTests.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/PCAPTests.cmake b/cmake/PCAPTests.cmake index 83f79dec53..1b62d3ab57 100644 --- a/cmake/PCAPTests.cmake +++ b/cmake/PCAPTests.cmake @@ -2,7 +2,7 @@ include(CheckFunctionExists) include(CheckCSourceCompiles) include(CheckIncludeFiles) -set(CMAKE_REQUIRED_INCLUDES ${LIBPCAP_INCLUDE_DIR}) +set(CMAKE_REQUIRED_INCLUDES ${PCAP_INCLUDE_DIR}) set(CMAKE_REQUIRED_LIBRARIES ${PCAP_LIBRARY}) check_include_files(pcap-int.h HAVE_PCAP_INT_H)