[pcapplusplus] Fix unresolved symbols (#28442)

* [pcapplusplus] Fix unresolved symbols #28437

* update version database
This commit is contained in:
xiaozhuai, Weihang Ding 2022-12-20 06:33:06 +08:00 committed by GitHub
parent 22eea5c469
commit 863d3ccaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.12)
project(pcapplusplus CXX)
project(pcapplusplus C CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
@ -67,9 +67,9 @@ endif()
# pcap++
file(GLOB PCAPPP_HEADERS "${CMAKE_CURRENT_LIST_DIR}/Pcap++/header/*.h")
file(GLOB PCAPPP_SOURCES "${CMAKE_CURRENT_LIST_DIR}/Pcap++/src/*.cpp")
file(GLOB LIGHTPCAPNG_SOURCES "${CMAKE_CURRENT_LIST_DIR}/3rdParty/LightPcapNg/LightPcapNg/src/*.cpp")
file(GLOB LIGHTPCAPNG_SOURCES "${CMAKE_CURRENT_LIST_DIR}/3rdParty/LightPcapNg/LightPcapNg/src/*.c")
add_library(pcappp ${PCAPPP_SOURCES})
add_library(pcappp ${PCAPPP_SOURCES} ${LIGHTPCAPNG_SOURCES})
target_include_directories(pcappp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Pcap++/header> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/3rdParty/LightPcapNg/LightPcapNg/include> "${PCAP_INCLUDES}" $<INSTALL_INTERFACE:include>)

View File

@ -1,7 +1,7 @@
{
"name": "pcapplusplus",
"version-string": "22.05",
"port-version": 1,
"port-version": 2,
"description": "PcapPlusPlus is a multi-platform C++ library for capturing, parsing and crafting of network packets",
"homepage": "https://github.com/seladb/PcapPlusPlus",
"license": null,

View File

@ -5730,7 +5730,7 @@
},
"pcapplusplus": {
"baseline": "22.05",
"port-version": 1
"port-version": 2
},
"pcg": {
"baseline": "2021-04-06",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8e13cef16f2b535aabf5672b3617ff0559772f61",
"version-string": "22.05",
"port-version": 2
},
{
"git-tree": "fc809c85d5fb8f4c3132cac73cd48df0704dd170",
"version-string": "22.05",