mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
43f4b02e82
commit
e157ff6519
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue