mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags
This commit is contained in:
committed by
Brad King
parent
c61f820a7f
commit
da2622ff36
@@ -89,6 +89,9 @@ function(CHECK_SOURCE_COMPILES _lang _source _var)
|
||||
elseif(_lang STREQUAL CXX)
|
||||
set(_lang_textual "C++")
|
||||
set(_lang_ext "cxx")
|
||||
elseif(_lang STREQUAL CUDA)
|
||||
set(_lang_textual "CUDA")
|
||||
set(_lang_ext "cu")
|
||||
elseif(_lang STREQUAL Fortran)
|
||||
set(_lang_textual "Fortran")
|
||||
set(_lang_ext "F")
|
||||
|
||||
Reference in New Issue
Block a user