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 /cmake/FindGLESv2.cmake | |
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 'cmake/FindGLESv2.cmake')
-rw-r--r-- | cmake/FindGLESv2.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindGLESv2.cmake b/cmake/FindGLESv2.cmake index 49e757ef55..3ba7b85d68 100644 --- a/cmake/FindGLESv2.cmake +++ b/cmake/FindGLESv2.cmake @@ -54,9 +54,9 @@ find_package_handle_standard_args(GLESv2 DEFAULT_MSG ${package_args}) mark_as_advanced(${package_args}) if(GLESv2_FOUND AND NOT TARGET GLESv2::GLESv2) - if(EMSCRIPTEN OR APPLE_UIKIT) + if(EMSCRIPTEN OR UIKIT) add_library(GLESv2::GLESv2 INTERFACE IMPORTED) - if(APPLE_UIKIT) + if(UIKIT) # For simulator_and_device builds we can't specify the full library path, because # it's specific to either the device or the simulator. Resort to passing a link # flag instead. |