From 4f75c24b3ee4164995ab23ee170d9711d53c39ab Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 15 Oct 2020 08:42:16 +0200 Subject: CMake: Allow Debug-only iOS builds They are disabled for the qmake build due to QTBUG-71990, but the issue doesn't apply to the CMake build. Task-number: QTBUG-71990 Change-Id: I6c659e9dbbc947fd3c6241f9fab2ea306c98020b Reviewed-by: Alexandru Croitor --- configure.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/configure.cmake b/configure.cmake index 57cd7baf39..984fe4b78a 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1071,11 +1071,13 @@ qt_configure_add_report_entry( MESSAGE "Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library." CONDITION NOT QT_FEATURE_shared ) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Debug build wihtout Release build is not currently supported on ios see QTBUG-71990. Use -debug-and-release." - CONDITION IOS AND QT_FEATURE_debug AND NOT QT_FEATURE_debug_and_release -) +# special case begin +# qt_configure_add_report_entry( +# TYPE ERROR +# MESSAGE "Debug build wihtout Release build is not currently supported on ios see QTBUG-71990. Use -debug-and-release." +# CONDITION IOS AND QT_FEATURE_debug AND NOT QT_FEATURE_debug_and_release +# ) +# special case end qt_configure_add_report_entry( TYPE WARNING MESSAGE "-debug-and-release is only supported on Darwin and Windows platforms. Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary." -- cgit v1.2.3