From 9ef4ffb1a45f85fb3b5f77320b15981b2b102f17 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 20 Sep 2019 14:27:35 +0200 Subject: [PATCH] Add platform mapping for emscripten MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EMSCRIPTEN is the name in cmake land as per emscripten's toolchain file. Change-Id: I11fa444204003f25f14fbf993ecf6766bf37d884 Reviewed-by: MÃ¥rten Nordheim --- util/cmake/helper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 278ade406f2..0fa10395725 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -585,6 +585,7 @@ platform_mapping = { "watchos": "APPLE_WATCHOS", "winrt": "WINRT", "wasm": "WASM", + "emscripten": "EMSCRIPTEN", "msvc": "MSVC", "clang": "CLANG", "gcc": "GCC",