aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-24 23:41:21 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-24 23:41:21 +0000
commitefd61c765585c717623b61137998a237e444807c (patch)
treeb647be96ff0a96fa2c38135532628c9559fb930f /cmake/modules
parenta601e0f99108230ca93c445933b21072af3ba9f9 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32939 f5534014-38df-0310-8fa8-9805f1628bb7
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)