summaryrefslogtreecommitdiffstats
path: root/Modules/CheckSourceRuns.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckSourceRuns.cmake')
-rw-r--r--Modules/CheckSourceRuns.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckSourceRuns.cmake b/Modules/CheckSourceRuns.cmake
index 6165123..20f3e1e 100644
--- a/Modules/CheckSourceRuns.cmake
+++ b/Modules/CheckSourceRuns.cmake
@@ -87,6 +87,9 @@ function(CHECK_SOURCE_RUNS _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")