diff options
Diffstat (limited to 'cmake/Platform/Emscripten_unix.cmake')
-rw-r--r-- | cmake/Platform/Emscripten_unix.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Platform/Emscripten_unix.cmake b/cmake/Platform/Emscripten_unix.cmake new file mode 100644 index 00000000..1e1d7fa9 --- /dev/null +++ b/cmake/Platform/Emscripten_unix.cmake @@ -0,0 +1,5 @@ +# On Unix platforms, we must specify the absolute path to emcc for cmake, having emcc in PATH will cause cmake to fail finding it. +# The user must set the EMSCRIPTEN variable to point to the Emscripten root folder. + +file(TO_CMAKE_PATH "$ENV{EMSCRIPTEN/}" EMCC_PATH) +include(Emscripten.cmake) |