diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-03-02 15:46:25 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-03-02 15:46:25 (GMT) |
commit | 17c658f819cee5af4854239f8d4aa6b0f51970ce (patch) | |
tree | f7eeeb0fe46485443d43a0b4dfc6b97ecbdc1354 /Modules/Compiler | |
parent | 4258b241349153c9154f70bd4bb2f6ba8bfc9af6 (diff) | |
download | CMake-17c658f819cee5af4854239f8d4aa6b0f51970ce.zip CMake-17c658f819cee5af4854239f8d4aa6b0f51970ce.tar.gz CMake-17c658f819cee5af4854239f8d4aa6b0f51970ce.tar.bz2 |
Add support for the Intel compiler used for ASM under Windows
Alex
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/Intel-ASM.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Compiler/Intel-ASM.cmake b/Modules/Compiler/Intel-ASM.cmake index aa0d8df..59b50a1 100644 --- a/Modules/Compiler/Intel-ASM.cmake +++ b/Modules/Compiler/Intel-ASM.cmake @@ -6,4 +6,8 @@ SET(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") SET(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") SET(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") -set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s) +IF(UNIX) + SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S) +ELSE(UNIX) + SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm) +ENDIF(UNIX) |