Skip to content

Commit

Permalink
set CMAKE_CUDA_ARCHITECTURES to OFF instead of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Mar 15, 2021
1 parent cb81c80 commit e6b832f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/EvalGPUArchs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# the License.

# 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 e6b832f

Please sign in to comment.