mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
ed2c1eb321
wasmtime is the official reference implementation and wasmer has permission issues without sudo.
11 lines
369 B
CMake
11 lines
369 B
CMake
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})
|
|
set(CMAKE_SYSROOT $ENV{WASI_SYSROOT})
|
|
|
|
set(CMAKE_C_COMPILER /usr/local/bin/clang-wasi-sysroot.sh)
|
|
set(CMAKE_CXX_COMPILER /usr/local/bin/clang++-wasi-sysroot.sh)
|
|
|
|
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/local/bin/wasmtime-pwd.sh)
|