ARMCC: Mistakenly identified as GNU compiler
The ARMCC (ARM toolchain) support seems to be broken in CMake 3.13.4.
The reason is probably that ARMCC generates the predefined marco
__GNU__ and the CMakeCompilerIdDetection.cmake script recognizes ARMCC as a GNU Compiler.
changing Line 73:
list(APPEND ordered_compilers SCO AppleClang Clang GNU MSVC ADSP IAR ARMCC )
list(APPEND ordered_compilers SCO ARMCC AppleClang Clang GNU MSVC ADSP IAR )
Modules/CMakeCompilerIdDetection.cmake fixes the problem for me
Regards, Francois Lion