Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Thu, 16 Feb 2023 10:54:41 +0000 (10:54 +0000)
committerThomas Goirand <zigo@debian.org>
Thu, 16 Feb 2023 10:54:41 +0000 (10:54 +0000)
commit91eb4009e8380da223d806f17e1c8b606e3bfef3
tree1b4015bc795d35d14767cb1d65cac54e6236327f
parentc7026c90a426c3f42352199b7fe5dce52c87750d
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