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:
@ -4,7 +4,6 @@
|
||||
cmake_minimum_required (VERSION 2.9)
|
||||
|
||||
project (iwasm C ASM CXX)
|
||||
enable_language(ASM_MASM)
|
||||
# set (CMAKE_VERBOSE_MAKEFILE 1)
|
||||
|
||||
set (WAMR_BUILD_PLATFORM "windows")
|
||||
|
||||
Reference in New Issue
Block a user