Selaa lähdekoodia

Merge topic 'armcc-compiler-id'

8f8d056051 ARMCC: Fix identification of ARM compiler when it defines GNU macros

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3127
Brad King 6 vuotta sitten
vanhempi
sitoutus
12cf0a8e48
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Modules/CMakeCompilerIdDetection.cmake

+ 1 - 1
Modules/CMakeCompilerIdDetection.cmake

@@ -74,13 +74,13 @@ function(compiler_id_detection outvar lang)
     endif()
     list(APPEND ordered_compilers
       SCO
+      ARMCC
       AppleClang
       Clang
       GNU
       MSVC
       ADSP
       IAR
-      ARMCC
     )
     if (lang STREQUAL C)
       list(APPEND ordered_compilers