summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhimetal.mm
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-08-14 17:06:20 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-17 12:03:41 +0200
commit82a2c7df3023e68f152e522dacdcbb076cdde701 (patch)
treebbef2812015f444ea0610924b7a2d27ed70935ba /src/gui/rhi/qrhimetal.mm
parent5789ece6d064164efbfcce68a0f7fcc2ff24190c (diff)
CMake: Fix detection of debug_and_release for iOS simulator_and_device
create_cmake.prf populates the values of CMAKE_RELEASE_TYPE and CMAKE_DEBUG_TYPE depending on if Qt was configured with debug, or release, or the build_all feature was set (which implies debug_and_release). simulator_and_device also implies build_all. This is a problem when configuring a Qt simulator_and_device build with only a "debug" configuration, or only a "release" configuration. In that case we would try to parse prl files for both configurations, even though only one configuration exists. Switch to checking for debug_and_release scope explicitly instead of build_all. This allows configuring and building a Qt iOS device_and_simulator debug configuration which is usable from CMake. Task-number: QTBUG-38913 Change-Id: Ife6d5d34d2b6bb1ac787d901a166e41c6e0c844b Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhimetal.mm')
0 files changed, 0 insertions, 0 deletions