Enable MASM automatically in runtime_lib.cmake (#2634)

MASM (Microsoft Macro Assembler) needs to be enabled to successfully
compile .asm files on Windows. Without enabling this language
automatically in runtime_lib.cmake, Windows cmake projects using WAMR
get hard-to-diagnose linker errors about missing symbols as the assembly
file is not compiled at all.
This commit is contained in:
zoraaver
2023-10-12 13:42:25 +01:00
committed by GitHub
parent e222955f31
commit 5fd530610a
8 changed files with 5 additions and 8 deletions

View File

@ -9,7 +9,6 @@ if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
project (basic)
else()
project (basic C ASM)
enable_language (ASM_MASM)
endif()
################ runtime settings ################