From f95e59e10bbd4913d5697b55ed478e3753c0180e Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 5 Feb 2024 21:50:55 +0100 Subject: [PATCH] chore(ricepp): find pkgconfig in CMakeLists.txt --- ricepp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ricepp/CMakeLists.txt b/ricepp/CMakeLists.txt index a3b8a265..72ecea83 100644 --- a/ricepp/CMakeLists.txt +++ b/ricepp/CMakeLists.txt @@ -42,6 +42,7 @@ target_compile_features(ricepp PUBLIC cxx_std_20) # target_link_libraries(ricepp_demo PRIVATE ricepp fmt) if(WITH_BENCHMARKS) + find_package(PkgConfig REQUIRED) pkg_check_modules(BENCHMARK IMPORTED_TARGET benchmark) if(BENCHMARK_FOUND) add_executable(ricepp_benchmark ricepp_benchmark.cpp)