Hi Community,
While building with cmake, getting benchmark errors like as below
-- Building for architecture ARCH=x64
-- OPENTELEMETRY_ABI_VERSION_NO=1
-- OPENTELEMETRY_VERSION=1.14.2
GTEST_INCLUDE_DIRS =
GTEST_BOTH_LIBRARIES = GTest::gtest;GTest::gtest_main
CMake Error at CMakeLists.txt:627 (find_package):
Could not find a package configuration file provided by "benchmark" with
any of the following names:
benchmarkConfig.cmake
benchmark-config.cmake
Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set
"benchmark_DIR" to a directory containing one of the above files. If
"benchmark" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
This is the cmake code
if(WITH_BENCHMARK)
# Benchmark respects the CMAKE_PREFIX_PATH
find_package(benchmark CONFIG REQUIRED)
endif()
Any help would appreciated. Thank you.
Regards,
Maiya