summaryrefslogtreecommitdiff
path: root/Modules/Platform/gas.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/gas.cmake')
-rw-r--r--Modules/Platform/gas.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/gas.cmake b/Modules/Platform/gas.cmake
index 6ac3b559fc..7d2bc84549 100644
--- a/Modules/Platform/gas.cmake
+++ b/Modules/Platform/gas.cmake
@@ -1,8 +1,8 @@
if(UNIX)
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o)
-else(UNIX)
+else()
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj)
-endif(UNIX)
+endif()
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>")