Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Tue, 26 Sep 2023 07:41:32 +0000 (08:41 +0100)
committerThomas Goirand <zigo@debian.org>
Tue, 26 Sep 2023 07:41:32 +0000 (08:41 +0100)
commitcbed8c57d0758ce87de90102ebeb5a05b5da6378
treedbd0e0ed124f5e09e1382185ccc1fbe24dd41c5a
parent29394b4205ebf5f0112fd53ce4ae60dc63b2a933
Fix CheckCxxAtomic to detect more accurately

Last-Update: 2022-08-30

Some platforms like riscv64 does not have full support for atomic primitives,
yet passes the test. Adding operator++ fixes this issue.

Gbp-Pq: Name fix-CheckCxxAtomic-riscv64.patch
cmake/modules/CheckCxxAtomic.cmake