Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Fri, 27 Jan 2023 15:46:08 +0000 (15:46 +0000)
committerThomas Goirand <zigo@debian.org>
Fri, 27 Jan 2023 15:46:08 +0000 (15:46 +0000)
commit381f446834738067031b88929d6d0ad333dc8d79
tree664a5fc2cd742eb85a48379d93d9c2efa0506fd1
parentd57ebd3446af3b8d75a6204e99a39a84ce4aca03
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