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:
-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC
-- Performing Test STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC - Failed
-- Performing Test STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC
-- Performing Test STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC - Failed
CMake Error at cmake/module/TestAppendRequiredLibraries.cmake:90 (message):
Cannot figure out how to use std::atomic.
Call Stack (most recent call first):
cmake/introspection.cmake:29 (test_append_atomic_library)
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