mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 12:28:13 -04:00
chore(ricepp): find pkgconfig in CMakeLists.txt
This commit is contained in:
parent
81c451ace2
commit
f95e59e10b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user