summaryrefslogtreecommitdiff
path: root/Modules/CMakeASMInformation.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-12 17:20:23 +0100
committerAlex Neundorf <neundorf@kde.org>2011-02-23 21:29:05 +0100
commit78f7c592eb3ded4eb7871cd012f46948fd35aa8e (patch)
tree2c6458ba65689cd3fbd9c380c7df3bdbb03bd5a0 /Modules/CMakeASMInformation.cmake
parent74564615889e35b8794e62325aa10d46d525bba4 (diff)
downloadcmake-78f7c592eb3ded4eb7871cd012f46948fd35aa8e.tar.gz
Fix the default CMAKE_ASM_COMPILE_OBJECT, make XL-ASM use it
Alex
Diffstat (limited to 'Modules/CMakeASMInformation.cmake')
-rw-r--r--Modules/CMakeASMInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeASMInformation.cmake b/Modules/CMakeASMInformation.cmake
index 839eef019f..fb1b976236 100644
--- a/Modules/CMakeASMInformation.cmake
+++ b/Modules/CMakeASMInformation.cmake
@@ -90,7 +90,7 @@ MARK_AS_ADVANCED(CMAKE_ASM${ASM_DIALECT}_FLAGS
IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT)
- SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> <SOURCE>")
+ SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
ENDIF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT)
IF(NOT CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY)