mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:19:02 +08:00
[pcapplusplus] Fix unresolved symbols (#28442)
* [pcapplusplus] Fix unresolved symbols #28437 * update version database
This commit is contained in:
parent
22eea5c469
commit
863d3ccaaf
@ -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>)
|
||||
|
||||
|
@ -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,
|
||||
|
@ -5730,7 +5730,7 @@
|
||||
},
|
||||
"pcapplusplus": {
|
||||
"baseline": "22.05",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"pcg": {
|
||||
"baseline": "2021-04-06",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8e13cef16f2b535aabf5672b3617ff0559772f61",
|
||||
"version-string": "22.05",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "fc809c85d5fb8f4c3132cac73cd48df0704dd170",
|
||||
"version-string": "22.05",
|
||||
|
Loading…
Reference in New Issue
Block a user