Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / try_compile / CudaStandard.cmake
1 include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
2
3 enable_language(CUDA)
4
5 try_compile(result ${try_compile_bindir_or_SOURCES}
6   ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/src.cu
7   CUDA_STANDARD 4
8   OUTPUT_VARIABLE out
9   )
10
11 message("try_compile output:\n${out}")