diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index d6132d5db6..288c2437cd 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -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 "$<$Qt::EntryPoint>") + set(finalGenex "$<$:Qt::EntryPoint>") set_target_properties("${target}" PROPERTIES INTERFACE_LINK_OPTIONS "${finalGenex}") endif()