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 fix cmake issue with referencing a non-existing function argument (#1118) 2021-04-26 09:15:07 +01:00
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
Config.cmake.in Find libpfm dependency in installed CMake configs (#1806) 2024-06-19 21:03:42 +03:00
CXXFeatureCheck.cmake Try removing attempt to set the C++ standard (#1464) 2022-12-10 19:42:44 -04:00
GetGitVersion.cmake Output library / schema versions in JSON context block (#1742) 2024-01-29 13:15:43 +00:00
gnu_posix_regex.cpp Fix #50 by using nullptr and adding stricter warning. 2014-10-11 15:52:50 -07:00
GoogleTest.cmake Fix passing non-const lvalue refs to DoNotOptimize (#1622) 2023-07-05 18:05:08 +01:00
GoogleTest.cmake.in update googletest to latest release tag 1.11.0 (#1301) 2021-12-08 16:30:03 +00:00
llvm-toolchain.cmake CMake: implement LTO for clang. Fixes #478 (#487) 2017-11-29 12:48:43 -08:00
posix_regex.cpp Close a memory leak in configuration code 2016-02-09 13:08:56 +00:00
pthread_affinity.cpp Fix CPU frequency estimation on riscv (#1549) 2023-02-21 11:30:28 +00:00
split_list.cmake split_list is not defined for assembly tests (#595) 2018-05-14 15:02:49 +01:00
std_regex.cpp Change std::regex detection test to detect bug in libstdc++. 2015-03-06 12:05:19 -05:00
steady_clock.cpp address review comments 2015-03-26 18:32:31 -04:00
thread_safety_attributes.cpp Adopt new benchmark timing internals. 2015-03-12 18:03:33 -04:00