From 9b94f95bed62cfcef7061ce94052ff246a673a95 Mon Sep 17 00:00:00 2001 From: Wirtos_new Date: Tue, 28 Sep 2021 15:34:29 +0300 Subject: ASM_NASM: Pass preprocessor definitions to assembler Add the `` placeholder to `CMAKE_ASM_NASM_COMPILE_OBJECT`. Fixes: #22694 --- Modules/CMakeASM_NASMInformation.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CMakeASM_NASMInformation.cmake b/Modules/CMakeASM_NASMInformation.cmake index dad2750..a72575b 100644 --- a/Modules/CMakeASM_NASMInformation.cmake +++ b/Modules/CMakeASM_NASMInformation.cmake @@ -35,7 +35,7 @@ if(NOT CMAKE_ASM_NASM_OBJECT_FORMAT) endif() if(NOT CMAKE_ASM_NASM_COMPILE_OBJECT) - set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") + set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") endif() if(CMAKE_ASM_NASM_COMPILER_ID STREQUAL "NASM") -- cgit v0.12