Skip to content

Commit

Permalink
Turn off CUDA deprecation warnings until addressed
Browse files Browse the repository at this point in the history
As mentioned in issue PixarAnimationStudios#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.
  • Loading branch information
c64kernal committed Mar 2, 2019
1 parent 6e52c57 commit 08c04c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ endif()
if(CUDA_FOUND)
add_definitions(
-DOPENSUBDIV_HAS_CUDA
-DCUDA_ENABLE_DEPRECATED=0
)
set(OSD_GPU TRUE)

Expand Down

0 comments on commit 08c04c9

Please sign in to comment.