Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Mon, 9 Jan 2023 10:41:27 +0000 (10:41 +0000)
committerThomas Goirand <zigo@debian.org>
Mon, 9 Jan 2023 10:41:27 +0000 (10:41 +0000)
commit2c07e90a125f40f1b92fcb46a75a4fa32d8a4d7d
tree9a2985a647092d3241362127e53adedd0ccacfc7
parent7a95b0c0464d91458ac087b3cebe9c4d48d88319
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