diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-09-12 22:36:12 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-09-12 22:49:03 +0800 |
commit | 7379bb3eed428c0ae734d0cc4a1fd04359d53f08 (patch) | |
tree | 1614ebaf62be7c3914de330369fd3766085ca9e1 /src | |
parent | CMake: Fix unconditionally defining HAVE_CLOCK_MONOTONIC. (diff) | |
download | xz-7379bb3eed428c0ae734d0cc4a1fd04359d53f08.tar.xz |
CMake: Fix time.h checks not running on second CMake run.
If CMake was configured more than once, HAVE_CLOCK_GETTIME and
HAVE_CLOCK_MONOTONIC would not be set as compile definitions. The check
for librt being needed to provide HAVE_CLOCK_GETTIME was also
simplified.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions