summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CUDA_architectures/architectures-not-set.cmake
blob: 1be5491554c641df7c72b9dab97ce3bfefdddad9 (plain)
1
2
3
4
5
6
7
unset(CMAKE_CUDA_ARCHITECTURES)
enable_language(CUDA)
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/info.cmake" "
set(CMAKE_CUDA_COMPILER_ID \"${CMAKE_CUDA_COMPILER_ID}\")
set(CMAKE_CUDA_COMPILER_VERSION \"${CMAKE_CUDA_COMPILER_VERSION}\")
set(CMAKE_CUDA_ARCHITECTURES \"${CMAKE_CUDA_ARCHITECTURES}\")
")