1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-30 06:50:27 +08:00

fix(cmakelists.txt): enforce CMake to find PFM or fail when BENCHMARK_ENABLE_LIBPFM is ON ()

Fixes 
This commit is contained in:
Ananta Bastola 2024-01-09 10:34:42 -05:00 committed by GitHub
parent 54e4327190
commit 882f6f5ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,7 +316,7 @@ find_package(Threads REQUIRED)
cxx_feature_check(PTHREAD_AFFINITY)
if (BENCHMARK_ENABLE_LIBPFM)
find_package(PFM)
find_package(PFM REQUIRED)
endif()
# Set up directories