diff --git a/cmake/modules/ErrorFlags.cmake b/cmake/modules/ErrorFlags.cmake index 836a4da26..175c95611 100644 --- a/cmake/modules/ErrorFlags.cmake +++ b/cmake/modules/ErrorFlags.cmake @@ -66,6 +66,8 @@ elseif(MSVC) ) endif() + # Silence deprecation warnings for the std::atomic_... family of functions. + # TODO: Remove once C++20's std::atomic is fully supported. add_compile_definitions("_SILENCE_CXX20_OLD_SHARED_PTR_ATOMIC_SUPPORT_DEPRECATION_WARNING") endif()