summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-ASM.cmake
diff options
context:
space:
mode:
authorFelipe Torrezan <felipe.torrezan@iar.com>2021-10-02 19:35:18 (GMT)
committerFelipe Torrezan <felipe.torrezan@iar.com>2021-10-02 19:35:18 (GMT)
commit589c6c8e3f440336e4acc73357a941a054dac082 (patch)
treee6dc8584e78606b3009793fce715d6495cda12da /Modules/Compiler/IAR-ASM.cmake
parentbe604bec8dfffb2f68e898b4d68b2fcf03e54cea (diff)
downloadCMake-589c6c8e3f440336e4acc73357a941a054dac082.zip
CMake-589c6c8e3f440336e4acc73357a941a054dac082.tar.gz
CMake-589c6c8e3f440336e4acc73357a941a054dac082.tar.bz2
IAR: added .S extension for IAR-ASM.cmake
Diffstat (limited to 'Modules/Compiler/IAR-ASM.cmake')
-rw-r--r--Modules/Compiler/IAR-ASM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/IAR-ASM.cmake b/Modules/Compiler/IAR-ASM.cmake
index 750ac2f..bae0fbd 100644
--- a/Modules/Compiler/IAR-ASM.cmake
+++ b/Modules/Compiler/IAR-ASM.cmake
@@ -25,7 +25,7 @@ set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> ${_CMAKE_IAR_SILENCER_FLAG} <
if("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" IN_LIST _CMAKE_IAR_ITOOLS)
__compiler_iar_ilink(ASM)
- set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa)
+ set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa;S)
elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" IN_LIST _CMAKE_IAR_XTOOLS)
__compiler_iar_xlink(ASM)