diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 7a33dd430ea..db936ce6286 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -1294,14 +1294,14 @@ endif() qt_internal_apply_gc_binaries_conditional(Core PUBLIC) # Add entry-point on platforms that need it. A project can opt-out of using the -# entrypoint by setting the QT_NO_ENTRYPOINT property to TRUE on a target. +# entrypoint by setting the qt_no_entrypoint property to TRUE on a target. if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "iOS") # find_package(Qt6Core) should call find_package(Qt6EntryPoint) so that we can # link against EntryPoint. Normally this is handled automatically for deps, but # for some reason it doesn't work for the EntryPoint, so we need to add it manually. qt_record_extra_qt_package_dependency(Core EntryPoint "${PROJECT_VERSION}") - set(entrypoint_conditions "$>>") + set(entrypoint_conditions "$>>") list(APPEND entrypoint_conditions "$,EXECUTABLE>") if(WIN32)