Fails to compile when running cmake -B build -DWITH_BDB=ON
Attempted the build process on two different laptops with identical specifications and encountered the same error.
Build Output:
0-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC
1-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC - Failed
2-- Performing Test STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC
3-- Performing Test STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC - Failed
4CMake Error at cmake/module/TestAppendRequiredLibraries.cmake:90 (message):
5 Cannot figure out how to use std::atomic.
6Call Stack (most recent call first):
7 cmake/introspection.cmake:29 (test_append_atomic_library)
8 CMakeLists.txt:391 (include)
Laptop Specifications
- OS: macOS Sequoia 15.2
- Compiler: Apple Clang version 16.0.0 (clang-1600.0.26.6) – Target: arm64-apple-darwin24.2.0 – Thread model: posix – InstalledDir: /Library/Developer/CommandLineTools/usr/bin