Skip to content

Commit

Permalink
cmake: Fix genex syntax error for iOS entrypoint
Browse files Browse the repository at this point in the history
Change-Id: I09f8870b937b7effd547071530636c314d242a16
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
torarnv committed Nov 10, 2020
1 parent 8780fbb commit d04e117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/Qt6CoreMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d04e117

Please sign in to comment.