summaryrefslogtreecommitdiffstats
path: root/cmake/QtStandaloneTestsConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/QtStandaloneTestsConfig.cmake.in')
-rw-r--r--cmake/QtStandaloneTestsConfig.cmake.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/QtStandaloneTestsConfig.cmake.in b/cmake/QtStandaloneTestsConfig.cmake.in
index 39200167a58..47ee7e8353a 100644
--- a/cmake/QtStandaloneTestsConfig.cmake.in
+++ b/cmake/QtStandaloneTestsConfig.cmake.in
@@ -1,8 +1,8 @@
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
-# TODO: Ideally this should look for each Qt module separately, with each module's specific version,
-# bypassing the Qt6 Config file, aka find_package(Qt6SpecificFoo) repated x times. But it's not
-# critical.
-find_package(@INSTALL_CMAKE_NAMESPACE@ @main_qt_package_version@
- COMPONENTS @QT_REPO_KNOWN_MODULES_STRING@)
+set(__standalone_parts_qt_packages_args
+@QT_MODULE_PACKAGES@
+@QT_TOOL_PACKAGES@
+)
+qt_internal_find_standalone_parts_qt_packages(__standalone_parts_qt_packages_args)