mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-11-01 02:37:48 +00:00
bump libpcap dependency to 1.9.0
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -288,9 +288,9 @@ else()
|
|||||||
set(DEFAULT_NDPI_INCLUDE ${NDPI_INCLUDE_DIRS})
|
set(DEFAULT_NDPI_INCLUDE ${NDPI_INCLUDE_DIRS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
pkg_check_modules(PCAP REQUIRED libpcap>=1.8.1)
|
pkg_check_modules(PCAP REQUIRED libpcap>=1.9.0) # no *.pc file before 1.9.0
|
||||||
if(NOT pkgcfg_lib_PCAP_pcap)
|
if(NOT pkgcfg_lib_PCAP_pcap)
|
||||||
find_package(PCAP "1.8.1" REQUIRED)
|
find_package(PCAP "1.9.0" REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_options(nDPId PRIVATE "-pthread")
|
target_compile_options(nDPId PRIVATE "-pthread")
|
||||||
|
|||||||
Reference in New Issue
Block a user