diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-13 19:29:45 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-15 00:07:51 +0200 |
commit | ed5543475e614cc1b1eb3fbee6a635805bb6c805 (patch) | |
tree | d99ac4d0f0f1ba66f892ae94e92c755c967b3a87 /src/widgets/styles | |
parent | 1d59fe368a0bd0c04264618e3e6f09d7ce289d33 (diff) |
CMake: Fix hardcoded iOS SDK when finding OpenGLES
The find script checked for UIKIT which is set during a Qt build
in QtPlaformSupport.cmake but is not set when building a user project.
This casused the find script to skip the iOS specific code that
passed the -framework OpenGLES linker flag.
This broke SDK switching in Xcode.
Check the IOS variable instead which is set by CMake for all projects
that pass -DCMAKE_SYSTEM_NAME=iOS.
Pick-to: 6.1
Change-Id: I9bd088f317917544ccfeff61fc4ff90f18f0f3d8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions