Fix typo in PCAPTests.cmake

With this correction, the configure tests should now be pulling
in the correct user-specified libpcap headers
This commit is contained in:
Jon Siwek 2011-01-27 11:33:20 -06:00
parent 1e407b433c
commit a19391b94b

View file

@ -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)