-
Notifications
You must be signed in to change notification settings - Fork 15
Description
find_package(Wasm)
if(WASM_FOUND)
message(STATUS "Using WASM clang => " ${WASM_CLANG})
message(STATUS "Using WASM llc => " ${WASM_LLC})
message(STATUS "Using WASM llvm-link => " ${WASM_LLVM_LINK})
else()
message( FATAL_ERROR "No WASM compiler cound be found (make sure WASM_ROOT is set)" )
return()
endif()
macro(compile_wast)
#read arguments include ones that we don't since arguments get forwared "as is" and we don't want to threat unknown argument names as values
cmake_parse_arguments(ARG "NOWARNINGS" "TARGET;DESTINATION_FOLDER" "SOURCE_FILES;INCLUDE_FOLDERS;SYSTEM_INCLUDE_FOLDERS;LIBRARIES" ${ARGN})
set(target ${ARG_TARGET})
As you can see above i am getting error in this line - message( FATAL_ERROR "No WASM compiler cound be found (make sure WASM_ROOT is set)" )
its say that i have to define root for wasm but i don't know how to find it
i am using ubuntu 16.04 and vs code