diff options
Diffstat (limited to 'cmake/modules/FindPCAP.cmake')
-rw-r--r-- | cmake/modules/FindPCAP.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindPCAP.cmake b/cmake/modules/FindPCAP.cmake index 0f5a19a439..1ec01c95c6 100644 --- a/cmake/modules/FindPCAP.cmake +++ b/cmake/modules/FindPCAP.cmake @@ -98,6 +98,7 @@ ENDIF(PCAP_LIBRARIES) #Functions INCLUDE(CheckFunctionExists) +INCLUDE(CheckVariableExists) SET(CMAKE_REQUIRED_INCLUDES ${PCAP_INCLUDE_DIRS}) SET(CMAKE_REQUIRED_LIBRARIES ${PCAP_LIBRARIES}) CHECK_VARIABLE_EXISTS("pcap_version" HAVE_PCAP_VERSION) |