]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Fix unconditionally defining HAVE_CLOCK_MONOTONIC.
authorJia Tan <jiat0218@gmail.com>
Tue, 12 Sep 2023 14:34:06 +0000 (22:34 +0800)
committerJia Tan <jiat0218@gmail.com>
Tue, 12 Sep 2023 14:34:06 +0000 (22:34 +0800)
commit5d691fe58286b92d704c0dc5cd0c4df22881c6c6
tree9dbfb16b991bc399d30b34cf2197e59b6c05f7aa
parenteccf12866527b8d24c7d7f92f755142be8ef9b11
CMake: Fix unconditionally defining HAVE_CLOCK_MONOTONIC.

If HAVE_CLOCK_GETTIME was defined, then HAVE_CLOCK_MONOTONIC was always
added as a compile definition even if the check for it failed.
CMakeLists.txt