summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerIdDetection.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeCompilerIdDetection.cmake')
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index 850fc14..2197790 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -81,6 +81,11 @@ function(compiler_id_detection outvar lang)
ARMCC
AppleClang
ARMClang
+ )
+ if(NOT __skip_rocmclang)
+ list(APPEND ordered_compilers ROCMClang)
+ endif()
+ list(APPEND ordered_compilers
Clang
GNU
MSVC