CheckAtomicΒΆ

Check if the compiler supports std:atomic out of the box or if libatomic is needed for atomic support. If it is needed libatomicis added to CMAKE_REQUIRED_LIBRARIES. So after running CheckAtomic you can use std:atomic.

Since 5.75.0.