aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2010-05-24 23:41:21 +0000
committerJörg Mayer <jmayer@loplof.de>2010-05-24 23:41:21 +0000
commitfbbf502752ea96dd1ea45e0e854725cef7035cea (patch)
treeb647be96ff0a96fa2c38135532628c9559fb930f /cmake/modules
parentf036ba32ab583ce58a03457766844b49e2b30309 (diff)
Jose Pedro Oliveira <jpo@di.uminho.pt>
(via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4786) Add missing +INCLUDE(CheckVariableExists) to make the previous commit work. svn path=/trunk/; revision=32939
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindPCAP.cmake1
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)