Skip to content

Commit 92506eb

Browse files
committed
enbale wasm-c-api unit test on X86_32
1 parent ebc1b9a commit 92506eb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/unit/wasm-c-api/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
1313
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
1414

1515
# WAMR features switch
16-
set(WAMR_BUILD_TARGET "X86_64")
16+
if (NOT DEFINED WAMR_BUILD_TARGET)
17+
set(WAMR_BUILD_TARGET "X86_64")
18+
endif()
1719
set(WAMR_BUILD_INTERP 1)
1820
set(WAMR_BUILD_AOT 0)
1921
set(WAMR_BUILD_JIT 0)

0 commit comments

Comments
 (0)