Skip to content

Commit 8c0b5a0

Browse files
committed
Add quotes for a compiler path and commandline options
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 8c34967 commit 8c0b5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/common/iwasm_common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (MSVC AND WAMR_BUILD_PLATFORM STREQUAL "windows" AND WAMR_BUILD_TARGET MATCHE
1010
"$ENV{VCToolsInstallDir}/bin/HostARM64/arm64/armasm64.exe"
1111
CACHE FILEPATH "" FORCE)
1212
set(CMAKE_ASM_MASM_COMPILE_OBJECT
13-
"<CMAKE_ASM_MASM_COMPILER> /nologo -o <OBJECT> <SOURCE>"
13+
"\"<CMAKE_ASM_MASM_COMPILER>\" /nologo -o \"<OBJECT>\" \"<SOURCE>\""
1414
CACHE STRING "" FORCE)
1515
set(_WAMR_ARM64_MASM_SOURCES
1616
${IWASM_COMMON_DIR}/arch/invokeNative_armarm64.asm

0 commit comments

Comments
 (0)