From e61dc331d334506456da50646e234dd2c15ed776 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Mon, 15 Mar 2021 12:28:58 -0700 Subject: [PATCH] clear CMAKE_CUDA_ARCHITECTURES without modifying cmake cache --- cpp/cmake/Modules/EvalGPUArchs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake/Modules/EvalGPUArchs.cmake b/cpp/cmake/Modules/EvalGPUArchs.cmake index c821772afd1..09e42c6cc7a 100644 --- a/cpp/cmake/Modules/EvalGPUArchs.cmake +++ b/cpp/cmake/Modules/EvalGPUArchs.cmake @@ -15,7 +15,7 @@ #============================================================================= # Unset this first in case it's set to -unset(CMAKE_CUDA_ARCHITECTURES CACHE) +set(CMAKE_CUDA_ARCHITECTURES OFF) # Enable CUDA so we can invoke nvcc enable_language(CUDA)