From 51b8c81c84136d5e80a803b2248ed1d17ab43ef0 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 17 Jun 2021 16:00:08 +0200 Subject: [PATCH] CMake: Rename qt6_finalize_ios_app to be internal For now, it's not meant to be called manually. It's called in qt_add_executable automatically for iOS. Amends 4d838dae5a821e9e5f013ba1d5a494ece1b5180e Pick-to: 6.2 Task-number: QTBUG-88763 Change-Id: I90dfcf86f53a3c8e48a813435f7400db232b21f4 Reviewed-by: Joerg Bornemann --- src/corelib/Qt6CoreMacros.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 80f896b6ba2..0575a17d48d 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -585,7 +585,7 @@ function(_qt_internal_finalize_executable target) qt_wasm_add_target_helpers("${target}") endif() if(IOS) - qt6_finalize_ios_app("${target}") + _qt_internal_finalize_ios_app("${target}") endif() # For finalizer mode of plugin importing to work safely, we need to know the list of Qt @@ -713,8 +713,7 @@ function(_qt_internal_get_default_ios_bundle_identifier out_var) set("${out_var}" "${prefix}.\${PRODUCT_NAME:rfc1034identifier}" PARENT_SCOPE) endfunction() - -function(qt6_finalize_ios_app target) +function(_qt_internal_finalize_ios_app target) # If user hasn't provided a development team id, try to find the first one specified # in the Xcode preferences. if(NOT CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM AND NOT QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID)