Skip to content

Commit 22c42e1

Browse files
authored
Add wasm64 to SwiftSetIfArchBitness.cmake
1 parent bf655c1 commit 22c42e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/modules/SwiftSetIfArchBitness.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ function(set_if_arch_bitness var_name)
3030
"${SIA_ARCH}" STREQUAL "powerpc64" OR
3131
"${SIA_ARCH}" STREQUAL "powerpc64le" OR
3232
"${SIA_ARCH}" STREQUAL "s390x" OR
33-
"${SIA_ARCH}" STREQUAL "riscv64")
33+
"${SIA_ARCH}" STREQUAL "riscv64" OR
34+
"${SIA_ARCH}" STREQUAL "wasm64")
3435
set("${var_name}" "${SIA_CASE_64_BIT}" PARENT_SCOPE)
3536
else()
3637
message(FATAL_ERROR "Unknown architecture: ${SIA_ARCH}")

0 commit comments

Comments
 (0)