Skip to content

Commit c282133

Browse files
committed
build(docker): ensure WASI CMake variable is set
Appears to not be defined with the current toolchain file.
1 parent aed9348 commit c282133

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/docker/itk-wasm/ITKWebAssemblyInterface.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT 20)
77
# Not compatible
88
set(CMAKE_DISABLE_FIND_PACKAGE_OpenMP TRUE)
99

10+
if(DEFINED ENV{WASI_VERSION})
11+
set(WASI ON)
12+
endif()
13+
1014
if(NOT _ITKWebAssemblyInterface_INCLUDED)
1115

1216
function(kebab_to_camel kebab camel)

0 commit comments

Comments
 (0)