On x86 with CMake 3.17.2, we observe that benchmark starts trying to link pthreads
This seems related to CMP0077, but also added CACHE BOOL to the relevant options we provide to benchmark in the top-level CMakeLists.txt file seems to have fixed it.
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "blah") # remove dep on gtest
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "blah") # remove dep on gtest
On x86 with CMake 3.17.2, we observe that
benchmark
starts trying to link pthreadsThis seems related to CMP0077, but also added CACHE BOOL to the relevant options we provide to
benchmark
in the top-level CMakeLists.txt file seems to have fixed it.