benchmark/cmake
Chris Cotter 71f4218c1a
Add -lkstat to the .pc for Solaris (#1801)
* Add -lkstat to the .pc for Solaris

This fixes linking for projects that rely on pkg-config to generate the
link line on Solaris.

Test plan: Built the project locally on Solaris and verified -kstat
appears in the .pc file

```
$ cat lib/pkgconfig/benchmark.pc  | grep Libs.private
Libs.private: -lpthread -lkstat
```

* Use BENCHMARK_PRIVATE_LINK_LIBRARIES
2024-07-03 21:16:43 +03:00
..
Modules missing cmake include 2023-07-10 17:58:01 +01:00
AddCXXCompilerFlag.cmake
CXXFeatureCheck.cmake Try removing attempt to set the C++ standard (#1464) 2022-12-10 19:42:44 -04:00
Config.cmake.in Find libpfm dependency in installed CMake configs (#1806) 2024-06-19 21:03:42 +03:00
GetGitVersion.cmake Output library / schema versions in JSON context block (#1742) 2024-01-29 13:15:43 +00:00
GoogleTest.cmake Fix passing non-const lvalue refs to DoNotOptimize (#1622) 2023-07-05 18:05:08 +01:00
GoogleTest.cmake.in
benchmark.pc.in Add -lkstat to the .pc for Solaris (#1801) 2024-07-03 21:16:43 +03:00
benchmark_main.pc.in Add `benchmark_main.pc` to link `main()` containing library (#1779) 2024-04-14 19:05:36 +03:00
gnu_posix_regex.cpp
llvm-toolchain.cmake
posix_regex.cpp
pthread_affinity.cpp Fix CPU frequency estimation on riscv (#1549) 2023-02-21 11:30:28 +00:00
split_list.cmake
std_regex.cpp
steady_clock.cpp
thread_safety_attributes.cpp