summaryrefslogtreecommitdiffstats
path: root/Modules/Internal/CheckSourceRuns.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Internal/CheckSourceRuns.cmake')
-rw-r--r--Modules/Internal/CheckSourceRuns.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Internal/CheckSourceRuns.cmake b/Modules/Internal/CheckSourceRuns.cmake
index 676f3d0..75e9896 100644
--- a/Modules/Internal/CheckSourceRuns.cmake
+++ b/Modules/Internal/CheckSourceRuns.cmake
@@ -22,6 +22,9 @@ function(CMAKE_CHECK_SOURCE_RUNS _lang _source _var)
elseif(_lang STREQUAL "Fortran")
set(_lang_textual "Fortran")
set(_lang_ext "F90")
+ elseif(_lang STREQUAL "HIP")
+ set(_lang_textual "HIP")
+ set(_lang_ext "hip")
elseif(_lang STREQUAL "OBJC")
set(_lang_textual "Objective-C")
set(_lang_ext "m")