mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
README.webp_js: update Emscripten.cmake note
recent versions of the sdk don't set the EMSCRIPTEN environment variable; provide a workaround. Change-Id: I1c4991cda0261a51201d27723eb69f48422c47a0
This commit is contained in:
parent
e1c8acb5bd
commit
dd3e7f8a2f
@ -17,6 +17,10 @@ using Emscripten and CMake.
|
||||
|
||||
- make sure the file $EMSCRIPTEN/cmake/Modules/Platform/Emscripten.cmake is
|
||||
accessible. This is the toolchain file used by CMake to invoke Emscripten.
|
||||
If $EMSCRIPTEN is unset search for Emscripten.cmake under $EMSDK and set
|
||||
$EMSCRIPTEN accordingly, for example:
|
||||
unix-like environments: export EMSCRIPTEN=$EMSDK/fastcomp/emscripten
|
||||
windows: set EMSCRIPTEN=%EMSDK%\fastcomp\emscripten
|
||||
|
||||
- configure the project 'WEBP_JS' with CMake using:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user