Skip to content

Commit

Permalink
clear CMAKE_CUDA_ARCHITECTURES without modifying cmake cache
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Mar 15, 2021
1 parent 79bebcd commit e61dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/cmake/Modules/EvalGPUArchs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#=============================================================================

# Unset this first in case it's set to <empty_string>
unset(CMAKE_CUDA_ARCHITECTURES CACHE)
set(CMAKE_CUDA_ARCHITECTURES OFF)

# Enable CUDA so we can invoke nvcc
enable_language(CUDA)
Expand Down

0 comments on commit e61dc33

Please sign in to comment.