Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Sat, 16 May 2026 12:52:24 +0000 (14:52 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 16 May 2026 12:52:24 +0000 (14:52 +0200)
commit2ecdc3d517bd3901c71f23a267d5738760c863f4
tree4b57299c46232f64376c797d76983d3b46f81544
parentb59631729d954b6b4c15b0bb80edff73bd0a7fe0
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