You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text above that CMake group is correct. Especially with CMake, linking to either one is sufficient, benchmark::benchmark_main will pull in the benchmark::benchmark.
Hi, I saw that on https://github.com/google/benchmark?tab=readme-ov-file#usage-with-cmake the Readme indicates that I should link against both
benchmark::benchmark
andbenchmark::benchmark_main
when using CMake. What's the difference between the two? Wouldn't it be enough to just link againstbenchmark::benchmark_main
?Thanks.
The text was updated successfully, but these errors were encountered: