cmake: Fix genex syntax error for iOS entrypoint

Change-Id: I09f8870b937b7effd547071530636c314d242a16
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Tor Arne Vestbø 2020-11-10 20:21:21 +01:00
parent 8780fbb2eb
commit d04e117d3d
1 changed files with 1 additions and 1 deletions

View File

@ -1415,7 +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(finalGenex "$<$<AND:${isExe},${isNotExcluded}>Qt::EntryPoint>")
set(finalGenex "$<$<AND:${isExe},${isNotExcluded}>:Qt::EntryPoint>")
set_target_properties("${target}" PROPERTIES INTERFACE_LINK_OPTIONS "${finalGenex}")
endif()