summaryrefslogtreecommitdiff
path: root/Modules/Compiler/IAR.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/IAR.cmake')
-rw-r--r--Modules/Compiler/IAR.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/IAR.cmake b/Modules/Compiler/IAR.cmake
index 32a7b3f5af..8dadb7612c 100644
--- a/Modules/Compiler/IAR.cmake
+++ b/Modules/Compiler/IAR.cmake
@@ -23,6 +23,7 @@ macro(__compiler_iar_common lang)
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -Oh -r -DNDEBUG")
endif()
+ set(CMAKE_${lang}_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_${lang}_RESPONSE_FILE_FLAG "-f ")
set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "-f ")