Commit 8e78d51c authored by David Redondo's avatar David Redondo 🏎

Do not try to build per app network stats plugin on FreeBSD

Do not search for libpcap and consequently do not build the plugin
parent e706ec5c
......@@ -75,15 +75,14 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
PURPOSE "Used for gathering socket info via the sock_diag netlink subsystem and for the network
plugin when NetworkManagerQt is not available."
)
find_package(libpcap)
set_package_properties(
libpcap PROPERTIES
TYPE RECOMMENDED
PURPOSE "libpcap is used for per-application network usage."
)
endif()
find_package(libpcap)
set_package_properties(
libpcap PROPERTIES
TYPE RECOMMENDED
PURPOSE "libpcap is used for per-application network usage."
)
if(libpcap_FOUND )
set(BUILD_NETWORK_PLUGIN TRUE)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment