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, 8 insertions, 2 deletions
diff --git a/cmake/QtStandaloneTestsConfig.cmake.in b/cmake/QtStandaloneTestsConfig.cmake.in
index 3d08ae0c12..39200167a5 100644
--- a/cmake/QtStandaloneTestsConfig.cmake.in
+++ b/cmake/QtStandaloneTestsConfig.cmake.in
@@ -1,2 +1,8 @@
-find_package(@INSTALL_CMAKE_NAMESPACE@ @PROJECT_VERSION@
- REQUIRED COMPONENTS @QT_REPO_KNOWN_MODULES_STRING@)
+# 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@)