Add versioned alias for the Platform target
It's necessary to have versioned alias of the Platform target to use versioned target in the installable cmake files. Pick-to: 6.1 Change-Id: I79286e1c0642068bdfa5d24c1087ee0c39e48f1a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
30621549d2
commit
8f238788de
|
|
@ -4,6 +4,7 @@ function(qt_internal_setup_public_platform_target)
|
|||
## QtPlatform Target:
|
||||
add_library(Platform INTERFACE)
|
||||
add_library(Qt::Platform ALIAS Platform)
|
||||
add_library(${INSTALL_CMAKE_NAMESPACE}::Platform ALIAS Platform)
|
||||
target_include_directories(Platform
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${QT_PLATFORM_DEFINITION_DIR_ABSOLUTE}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue