Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)
committerThomas Goirand <zigo@debian.org>
Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)
commite00c5bd503ccbdb4f15dfd5d2099eee15b02d0e4
tree3770671bf3ab10678cd3e98fc3bc325aa2f49206
parentf4595ef0b26299f1570ad924274aadbb06fe8a1d
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