summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-11-09 15:42:05 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-11-10 16:53:31 +0100
commit4b063c8467071e1c2d40f5fc493b7e3ec5a08520 (patch)
tree1b5f214ae39c7786e285cc78ab637e124eb8635b /cmake
parent6e9a0f6688bd8554321f8eff10af2c9d9db564a0 (diff)
Move iOS entrypoint logic to entrypoint library
Change-Id: Ie0fc8368953a59d06a31847ed417bc3c35f29b90 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtStartupHelpers.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/QtStartupHelpers.cmake b/cmake/QtStartupHelpers.cmake
index 0ec431cbf4..15d49e3271 100644
--- a/cmake/QtStartupHelpers.cmake
+++ b/cmake/QtStartupHelpers.cmake
@@ -8,9 +8,9 @@
function(qt_internal_setup_startup_target)
set(dependent_target "Core")
- # On windows, find_package(Qt6Core) should call find_package(Qt6EntryPoint) so that Startup can
- # link against EntryPoint.
- if(WIN32)
+ # On platforms that have a Qt entry-point, find_package(Qt6Core) should call
+ # find_package(Qt6EntryPoint) so that we can link against EntryPoint.
+ if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "iOS")
qt_record_extra_qt_package_dependency("${dependent_target}" EntryPoint "${PROJECT_VERSION}")
endif()
endfunction()