summaryrefslogtreecommitdiffstats
path: root/util/cmake/helper.py
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-09-20 14:27:35 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-09-20 14:07:03 +0000
commit9ef4ffb1a45f85fb3b5f77320b15981b2b102f17 (patch)
tree105b662638532c3f50c59d98a8dbefc38fff19a2 /util/cmake/helper.py
parentd8647910bc93eca06491b719105b2228c50cc556 (diff)
Add platform mapping for emscripten
EMSCRIPTEN is the name in cmake land as per emscripten's toolchain file. Change-Id: I11fa444204003f25f14fbf993ecf6766bf37d884 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'util/cmake/helper.py')
-rw-r--r--util/cmake/helper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index 278ade406f..0fa1039572 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",