Open
Description
When trying to build the project (at development branch current HEAD
) with benchmarks enabled as follows:
$ mkdir build && cd build
$ conan install .. --build missing -pr:h=default -pr:b=default -o benchmarks=on
$ conan build ..
we get the following error:
sopt/cpp/benchmarks/wavelets.cc:2:10: fatal error: benchmark/benchmark.h: No such file or directory
2 | #include <benchmark/benchmark.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [cpp/benchmarks/CMakeFiles/benchmark_wavelets.dir/build.make:76: cpp/benchmarks/CMakeFiles/benchmark_wavelets.dir/wavelets.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1761: cpp/benchmarks/CMakeFiles/benchmark_wavelets.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
ERROR: conanfile.py (sopt/4.0.0): Error in build() method, line 78
cmake.build()
ConanException: Error 2 while executing cmake --build "sopt/build" '--' '-j8'