This reworks the cmake build of the project to add install targets for uvwasi. This will make it possible for pkg-config or cmake build pipelines to discover globally installed uvwasi.
To install uvwasi, you'd run cmake --install out after you build.
I also removed the WITH_SYSTEM_LIBUV option because we should be using the globally installed libuv if it can be found. If people are very against this change, I can introduce a flag to disable this behavior.
I've tested this against a local branch of wasm-micro-runtime and it seems to be working. My plan is to add that build to CI once they accept my changes.
This reworks the cmake build of the project to add install targets for uvwasi. This will make it possible for pkg-config or cmake build pipelines to discover globally installed uvwasi.
To install uvwasi, you'd run
cmake --install out
after you build.I also removed the
WITH_SYSTEM_LIBUV
option because we should be using the globally installed libuv if it can be found. If people are very against this change, I can introduce a flag to disable this behavior.I've tested this against a local branch of wasm-micro-runtime and it seems to be working. My plan is to add that build to CI once they accept my changes.
Closes #199