summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBradley Bell <bradleyb@uw.edu>2021-08-21 03:20:01 (GMT)
committerBradley Bell <bradleyb@uw.edu>2021-08-21 03:28:37 (GMT)
commit78f758a463516a78a9ec8d472080c6e61cb89c7f (patch)
treebf96ef319df2063e1b579d1f6fdc3662ab809034 /Modules
parentc8c257206b1e4f5d083c7da5ac269bb4fef5cedf (diff)
downloadCMake-78f758a463516a78a9ec8d472080c6e61cb89c7f.zip
CMake-78f758a463516a78a9ec8d472080c6e61cb89c7f.tar.gz
CMake-78f758a463516a78a9ec8d472080c6e61cb89c7f.tar.bz2
Use dashes for MASM flags
Microsoft's tools traditionally uses slashes, but accept dashes as well. If we use dashes, it becomes possible to use an alternative MASM-compatible assembler such as JWasm.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeASM_MASMInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeASM_MASMInformation.cmake b/Modules/CMakeASM_MASMInformation.cmake
index 6d1e174..656b75e 100644
--- a/Modules/CMakeASM_MASMInformation.cmake
+++ b/Modules/CMakeASM_MASMInformation.cmake
@@ -8,7 +8,7 @@ set(ASM_DIALECT "_MASM")
set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm)
-set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> /c /Fo <OBJECT> <SOURCE>")
+set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -c -Fo <OBJECT> <SOURCE>")
# The ASM_MASM compiler id for this compiler is "MSVC", so fill out the runtime library table.
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreaded "")