From 08c04c9a6192538e3f5f42d74698c202d265df60 Mon Sep 17 00:00:00 2001 From: George ElKoura Date: Fri, 1 Mar 2019 22:40:26 -0800 Subject: [PATCH] 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. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b37c32dc..3459458d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -507,6 +507,7 @@ endif() if(CUDA_FOUND) add_definitions( -DOPENSUBDIV_HAS_CUDA + -DCUDA_ENABLE_DEPRECATED=0 ) set(OSD_GPU TRUE)