From 788c8d1306779a53232c2c5b952f022990ee012c Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Wed, 16 Oct 2024 18:34:09 +0300 Subject: [PATCH] cmake: Don't emit message when searching for libarchive Existence of libarchive does not change behavior because it's only used to work around a bug in dpdk. Fixes d6dd7633d53afbfbe3d29143e092f94c459baf88 Closes scylladb/seastar#2500 --- cmake/Finddpdk.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Finddpdk.cmake b/cmake/Finddpdk.cmake index efdb9a04ab..d0b2e2a1db 100644 --- a/cmake/Finddpdk.cmake +++ b/cmake/Finddpdk.cmake @@ -140,7 +140,7 @@ endif () # Unfortunately DPDK also has a bug in its .pc file generation and will not include libarchive # dependency under any circumstance. Accordingly, the dependency is added explicitly if libarchive # exists. -pkg_check_modules(libarchive_PC libarchive) +pkg_check_modules (libarchive_PC QUIET libarchive) list(APPEND dpdk_dependencies ${libarchive_PC_LIBRARIES}) if (dpdk_FOUND AND NOT (TARGET dpdk))