diff options
author | Alexander Neumann <8703-Neumann-A@users.noreply.gitlab.kitware.com> | 2024-03-10 14:10:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-10 15:20:20 (GMT) |
commit | c34ef6c92281d71313345763e876352affca5176 (patch) | |
tree | 55e9b9664a27b5e18feb66a711881876a924522a /Modules | |
parent | 5c3512333c6afb9496a3fde0bf146fb1fa570f27 (diff) | |
download | CMake-c34ef6c92281d71313345763e876352affca5176.zip CMake-c34ef6c92281d71313345763e876352affca5176.tar.gz CMake-c34ef6c92281d71313345763e876352affca5176.tar.bz2 |
ASM_MARMASM: Remove broken partial support for preprocessor defines
Avoid passing unsupported options to the assembler.
In commit 3166547cf6 (ASM_MARMASM: Add support for Microsoft ARM
assembler language, 2022-10-14, v3.26.0-rc1~383^2) we copied the
assembler command line from `CMakeASM_MASMInformation`, but the
`marmasm` tool does not accept `-D` command-line options.
Issue: #24317
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeASM_MARMASMInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeASM_MARMASMInformation.cmake b/Modules/CMakeASM_MARMASMInformation.cmake index 2026c17..a47f7c2 100644 --- a/Modules/CMakeASM_MARMASMInformation.cmake +++ b/Modules/CMakeASM_MARMASMInformation.cmake @@ -8,7 +8,7 @@ set(ASM_DIALECT "_MARMASM") set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm) -set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>") +set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>") # The ASM_MARMASM 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 "") |