From c34ef6c92281d71313345763e876352affca5176 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <8703-Neumann-A@users.noreply.gitlab.kitware.com> Date: Sun, 10 Mar 2024 10:10:32 -0400 Subject: [PATCH] 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 --- Modules/CMakeASM_MARMASMInformation.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CMakeASM_MARMASMInformation.cmake b/Modules/CMakeASM_MARMASMInformation.cmake index 2026c17183..a47f7c2d05 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 " -o ") +set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " -o ") # 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 "")