Wireshark-commits: [Wireshark-commits] master afae2b6: Allow building under OSX Yosemite using cmak
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=afae2b64e2aab4d63ccef3c652507e747594ea93
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
afae2b6 by David Ameiss (netshark@xxxxxxxxxxxxx):
Allow building under OSX Yosemite using cmake.
CFPropertyListCreateFromStream() has been deprecated in Yosemite, in favor of CFPropertyListCreateWithStream(). The autotools
build checks for the existence of the new function, but the cmake build does not. So, add a check for it to CMakeLists.txt, and
update cmakeconfig.h.in to provide the "template" for HAVE_CFPROPERTYLISTCREATEWITHSTREAM.
Change-Id: I1a4e3e1ce83092ecf7725527b921eeca80b18d4b
Note: CFPropertyListCreateWithStream() works under Mavericks as well.
Reviewed-on: https://code.wireshark.org/review/5226
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from c44ff77 amqp: Misc changes;
adds afae2b6 Allow building under OSX Yosemite using cmake.
Summary of changes:
CMakeLists.txt | 22 +++++++++++-----------
ConfigureChecks.cmake | 6 ++++++
cmakeconfig.h.in | 3 +++
3 files changed, 20 insertions(+), 11 deletions(-)