Remove WIN32 and MACOSX_BUNDLE arguments when building Android binary
This fixes the regression introduced in Android multiabi changes.
Amends 0a02d84555
Task-number: QTBUG-88841
Change-Id: I09e129361eb760cdc14c2302e821ce4fcbf117c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
4ea32eaad0
commit
3c493b89df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user