diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in index 2e15f0cf..3659cfa2 100644 --- a/cmake/Config.cmake.in +++ b/cmake/Config.cmake.in @@ -4,4 +4,8 @@ include (CMakeFindDependencyMacro) find_dependency (Threads) +if (@BENCHMARK_ENABLE_LIBPFM@) + find_dependency (PFM) +endif() + include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")