diff options
Diffstat (limited to 'Modules/CheckSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckSourceCompiles.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckSourceCompiles.cmake b/Modules/CheckSourceCompiles.cmake index 70a733d..08fc153 100644 --- a/Modules/CheckSourceCompiles.cmake +++ b/Modules/CheckSourceCompiles.cmake @@ -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") |