web-wasi: Initialize WASI_SDK_PATH for wasi-sdk.cmake, set UNIX

This commit is contained in:
Matt McCormick 2021-10-13 23:47:29 -04:00
parent 93b23ec997
commit ef0ff63ed9
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
set(WASI_SDK_PREFIX $ENV{WASI_SDK_PATH})
include($ENV{WASI_SDK_PATH}/share/cmake/wasi-sdk.cmake)
set(CMAKE_FIND_ROOT_PATH $ENV{CROSS_ROOT})

View File

@ -1 +1,2 @@
set(WASI 1)
set(UNIX 1)