Cleanup: Warning from USD macro using deprecated atomic shared ptr

Pull Request: https://projects.blender.org/blender/blender/pulls/162369
This commit is contained in:
Brecht Van Lommel 2026-08-05 21:32:32 +02:00 • committed by Brecht Van Lommel
parent 43f4b02e82
commit e157ff6519
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,8 @@ endif()
if(WIN32)
# We need to keep BOOST_DEBUG_PYTHON for the vendored copy of boost inside USD.
add_definitions(-DBOOST_DEBUG_PYTHON)
# Silence warnings from HD_DECLARE_DATASOURCE macro defined in USD headers.
add_definitions(-D_SILENCE_CXX20_OLD_SHARED_PTR_ATOMIC_SUPPORT_DEPRECATION_WARNING)
endif()
# Pre-compiled Linux libraries are made with GCC, and USD uses some extensions

View file

@ -12,6 +12,8 @@ endif()
if(WIN32)
# We need to keep BOOST_DEBUG_PYTHON for the vendored copy of boost inside USD.
add_definitions(-DBOOST_DEBUG_PYTHON)
# Silence warnings from HD_DECLARE_DATASOURCE macro defined in USD headers.
add_definitions(-D_SILENCE_CXX20_OLD_SHARED_PTR_ATOMIC_SUPPORT_DEPRECATION_WARNING)
endif()
# Pre-compiled Linux libraries are made with GCC, and USD uses some extensions