mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
Turn off CUDA deprecation warnings until addressed
As mentioned in issue #997, OpenSubdiv still uses CUDA functionality that is being deprecated. When warnings are treated as errors, this can make OpenSubdiv fail to compile. For now, we turn off these deprecation warnings until we can address them.
This commit is contained in:
parent
6e52c57a0e
commit
08c04c9a61
@ -507,6 +507,7 @@ endif()
|
|||||||
if(CUDA_FOUND)
|
if(CUDA_FOUND)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DOPENSUBDIV_HAS_CUDA
|
-DOPENSUBDIV_HAS_CUDA
|
||||||
|
-DCUDA_ENABLE_DEPRECATED=0
|
||||||
)
|
)
|
||||||
set(OSD_GPU TRUE)
|
set(OSD_GPU TRUE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user