summaryrefslogtreecommitdiffstats
path: root/util/cmake/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/cmake/helper.py')
-rw-r--r--util/cmake/helper.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index 606aa337e9..00adc940f1 100644
--- a/util/cmake/helper.py
+++ b/util/cmake/helper.py
@@ -657,9 +657,9 @@ platform_mapping = {
"nacl": "NACL",
"android": "ANDROID",
"android-embedded": "ANDROID_EMBEDDED",
- "uikit": "APPLE_UIKIT",
- "tvos": "APPLE_TVOS",
- "watchos": "APPLE_WATCHOS",
+ "uikit": "UIKIT",
+ "tvos": "TVOS",
+ "watchos": "WATCHOS",
"winrt": "WINRT",
"wasm": "WASM",
"emscripten": "EMSCRIPTEN",
@@ -668,17 +668,17 @@ platform_mapping = {
"gcc": "GCC",
"icc": "ICC",
"intel_icc": "ICC",
- "osx": "APPLE_MACOS",
- "ios": "APPLE_IOS",
+ "osx": "MACOS",
+ "ios": "IOS",
"freebsd": "FREEBSD",
"openbsd": "OPENBSD",
"netbsd": "NETBSD",
"haiku": "HAIKU",
"netbsd": "NETBSD",
"mac": "APPLE",
- "macx": "APPLE_MACOS",
- "macos": "APPLE_MACOS",
- "macx-icc": "(APPLE_MACOS AND ICC)",
+ "macx": "MACOS",
+ "macos": "MACOS",
+ "macx-icc": "(MACOS AND ICC)",
}