disorderedmaterials / dissolve

Structure refinement software for total scattering data
GNU General Public License v3.0
9 stars 16 forks source link

CMake preset configuration step fails - can't find benchmark pkg #1957

Closed RobBuchananCompPhys closed 2 days ago

RobBuchananCompPhys commented 3 days ago

Describe the bug CMake configuration failing on develop branch due to unfound benchmark package. Occurs on various presets (GUI-nix, GUI-Debug-nix, CLI-nix etc).

  By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "benchmark", but CMake did not find one.

  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.

To Reproduce

  1. Checkout develop
  2. from top level directory run cmake --preset <PRESET>; cmake --build build --target <TARGET>...

Expected behaviour CMake preset configuration should succeed, results in building Dissolve

Operating System: Linux, nixOS

RobBuchananCompPhys commented 3 days ago

@trisyoungs this might be a result of the recent benchmark refactor? I can look into it in more depth if you want, I imagine it is just missing from a path.