diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-09 15:42:05 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-10 16:53:31 +0100 |
commit | 4b063c8467071e1c2d40f5fc493b7e3ec5a08520 (patch) | |
tree | 1b5f214ae39c7786e285cc78ab637e124eb8635b /src/corelib/Qt6CoreMacros.cmake | |
parent | 6e9a0f6688bd8554321f8eff10af2c9d9db564a0 (diff) |
Move iOS entrypoint logic to entrypoint library
Change-Id: Ie0fc8368953a59d06a31847ed417bc3c35f29b90
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/Qt6CoreMacros.cmake')
-rw-r--r-- | src/corelib/Qt6CoreMacros.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 36382445cd..d6132d5db6 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -1415,8 +1415,7 @@ function(_qt_internal_setup_startup_target) # error out when called multiple times from different scopes. set_target_properties("${target}" PROPERTIES INTERFACE_LINK_LIBRARIES "${finalGenex}") elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS") - set(flag "-Wl,-e,_qt_main_wrapper") - set(finalGenex "$<$<AND:${isExe},${isNotExcluded}>:${flag}>") + set(finalGenex "$<$<AND:${isExe},${isNotExcluded}>Qt::EntryPoint>") set_target_properties("${target}" PROPERTIES INTERFACE_LINK_OPTIONS "${finalGenex}") endif() |