Wireshark-bugs: [Wireshark-bugs] [Bug 4786] cmake and libpcap version detection
Date: Mon, 24 May 2010 16:23:14 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4786

--- Comment #4 from Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> 2010-05-24 16:23:13 PDT ---
Adding the following line solves the problem:

----------
--- wireshark-1.3.6-SVN-32938/cmake/modules/FindPCAP.cmake      2010-05-24
23:50:30.552406000 +0100
+++ _l/wireshark-1.3.6-SVN-32938/cmake/modules/FindPCAP.cmake   2010-05-25
00:18:20.465985949 +0100
@@ -98,6 +98,7 @@

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

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.