benchmark error

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

While building with cmake

Building what exactly?

Could not find a package configuration file provided by “benchmark”

Is this “benchmark” thing available/discoverable in your environment?

Trying to install opentelemetry in our system. and we are getting the above error.

Does this “opentelemetry” have a website or repository, so one could take a look at its project?
Also, first you said you were building, and now you are “trying to install”. How is CMake involved in that installation process?