From 3c493b89df4dcabb304b821da229129e08797201 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 19 Oct 2021 13:11:09 +0200 Subject: [PATCH] Remove WIN32 and MACOSX_BUNDLE arguments when building Android binary This fixes the regression introduced in Android multiabi changes. Amends 0a02d845559e4fd9d1bd72942c5118f3bb1307bf Task-number: QTBUG-88841 Change-Id: I09e129361eb760cdc14c2302e821ce4fcbf117c3 Reviewed-by: Alexandru Croitor --- src/corelib/Qt6CoreMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 4b93834ac5..7673ce673d 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -544,7 +544,7 @@ endfunction() function(_qt_internal_create_executable target) cmake_parse_arguments(arg "" "" "ANDROID_ABIS" ${ARGN}) if(ANDROID) - list(REMOVE_ITEM ARGN "WIN32" "MACOSX_BUNDLE") + list(REMOVE_ITEM arg_UNPARSED_ARGUMENTS "WIN32" "MACOSX_BUNDLE") add_library("${target}" MODULE ${arg_UNPARSED_ARGUMENTS}) # On our qmake builds we do don't compile the executables with # visibility=hidden. Not having this flag set will cause the