summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/try_compile/CudaStandard.cmake
blob: 96da422c6467725349a05c5cf8decb4f5aa78d80 (plain)
1
2
3
4
5
6
7
enable_language(CUDA)
try_compile(result ${CMAKE_CURRENT_BINARY_DIR}
  SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src.cu
  CUDA_STANDARD 3
  OUTPUT_VARIABLE out
  )
message("try_compile output:\n${out}")