CMake: Mark PlatformCommonInternal as a Qt6 package
Add PlatformCommonInternal to the list of packages compared in qt_internal_is_lib_part_of_qt6_package It gets rid of the following warnings when configuring standalone tests CMake Warning at cmake/QtFindPackageHelpers.cmake:406 (message): Could not find target Qt6::PlatformCommonInternal to query its package name. Defaulting to package name Qt6PlatformCommonInternal. Consider re-arranging the project structure to ensure the target exists by this point. CMake Warning at cmake/QtFindPackageHelpers.cmake:374 (message): Could not determine package version of target PlatformCommonInternal. Defaulting to project version 6.5.0. Amends606124c5cc
Amendsdd1030a450
Amendsdffcc2370e
Pick-to: 6.4 Task-number: QTBUG-104998 Change-Id: I65c23c20b3c1b70dbfd54edd4f5b83c6781f5e6f Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
0e0352ab4d
commit
22c3b87b14
@ -309,7 +309,9 @@ function(qt_internal_is_lib_part_of_qt6_package lib out_var)
|
||||
OR lib STREQUAL "GlobalConfigPrivate"
|
||||
OR lib STREQUAL "PlatformModuleInternal"
|
||||
OR lib STREQUAL "PlatformPluginInternal"
|
||||
OR lib STREQUAL "PlatformToolInternal")
|
||||
OR lib STREQUAL "PlatformToolInternal"
|
||||
OR lib STREQUAL "PlatformCommonInternal"
|
||||
)
|
||||
set(${out_var} "TRUE" PARENT_SCOPE)
|
||||
else()
|
||||
set(${out_var} "FALSE" PARENT_SCOPE)
|
||||
|
Loading…
Reference in New Issue
Block a user