Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
committerThomas Goirand <zigo@debian.org>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
commit4f2399a56009469a2adca141b83928629c17d0b6
tree988a59517a1a389862cc0d4a797d6133431a45d3
parentd7f142455b3f0e93fe6bf083ad96d13b0a6bf76e
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