From 30cae32e673af408e5490e8df3bb4e57ac42ea2a Mon Sep 17 00:00:00 2001 From: Dalton Messmer Date: Thu, 7 Nov 2024 02:03:04 -0500 Subject: [PATCH] Add comment --- cmake/modules/ErrorFlags.cmake | 2 ++ 1 file changed, 2 insertions(+) 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()