diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-16 13:36:47 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-16 17:57:56 +0100 |
commit | 77885f8402ad65e00e01c5e15777edcedf9741b2 (patch) | |
tree | 456874ac9ce27cfb1d4c6100056893620b308529 /util/cmake/helper.py | |
parent | db745fdd2dbd57af54f7da637eef6c892824a6fb (diff) |
cmake: Remove APPLE prefix from platform names
None of the other platforms have it.
Change-Id: Ib448c2c03ba03f711b507ef391977c0e6aa7c192
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/helper.py')
-rw-r--r-- | util/cmake/helper.py | 16 |
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)", } |