Skip to content

Commit

Permalink
fix install with KNI
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon committed Oct 29, 2023
1 parent bef8593 commit 1875145
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Pcap++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@ if(PCAPPP_USE_DPDK)
public_headers
header/DpdkDevice.h
header/DpdkDeviceList.h
$<$<BOOL:${PCAPPP_USE_DPDK_KNI}>:header/KniDevice.h>
$<$<BOOL:${PCAPPP_USE_DPDK_KNI}>:header/KniDeviceList.h>
header/MBufRawPacket.h)
endif()

if(PCAPPP_USE_DPDK_KNI)
list(
APPEND
public_headers
header/KniDevice.h
header/KniDeviceList.h
endif()

if(PCAPPP_USE_PF_RING)
list(
APPEND
Expand Down

0 comments on commit 1875145

Please sign in to comment.