diff options
author | James Zern <jzern@google.com> | 2019-05-31 00:41:44 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2019-05-31 01:05:55 -0700 |
commit | dd3e7f8a2f5103e308d157ed409b3d9411fd37bc (patch) | |
tree | a1b3bde3072782e04fe3cb133061de27239484a3 | |
parent | e1c8acb5bd0e3be13c28aa3d10f0885d34cae853 (diff) | |
download | libwebp-dd3e7f8a2f5103e308d157ed409b3d9411fd37bc.tar.gz |
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
-rw-r--r-- | README.webp_js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/README.webp_js b/README.webp_js index 2805354d..e78360c1 100644 --- a/README.webp_js +++ b/README.webp_js @@ -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: |