From dd3e7f8a2f5103e308d157ed409b3d9411fd37bc Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 31 May 2019 00:41:44 -0700 Subject: [PATCH] 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 --- README.webp_js | 4 ++++ 1 file changed, 4 insertions(+) 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: