Fix CheckCxxAtomic to detect more accurately
authorEric Long <i@hack3r.moe>
Wed, 4 Dec 2024 05:46:17 +0000 (06:46 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 4 Dec 2024 05:46:17 +0000 (06:46 +0100)
commitd05bda57b55aa81128e5a818d4dae5d42a78abf1
treef248be7ad9781156328d9a4d749cf0a7c25f0194
parent42948441bfe0e71508f16ab4745317f5c3fc6634
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