diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-07-05 18:07:34 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-07-13 14:31:16 +0200 |
commit | adfb767bcc21a54e916d99d35c04845e76aae43d (patch) | |
tree | a7e5a9c6095910db2b568b66adeacd8353ba3d46 /cmake/QtFeature.cmake | |
parent | 3c88e12beb22d8ea11b8a7006a71ba9773c6d183 (diff) |
Move the logic associated with platform definition directory
Since platform definition directory is used as an interface include
path of the Qt::Platform target, it makes sense to define it for this
target only. Also the definition of cached values that contain
path to platform definition looks redundand.
The definition of QT_PLATFORM_DEFINITION_DIR from command line
doesn't make any sense since build procedure doesn't take it into
account when installing mkspecs and the use if the user-provided
QT_PLATFORM_DEFINITION_DIR value as a Qt::Platform include directory
causes inconsistency in the prefixed builds. INSTALL_MKSPECSDIR
and QT_QMAKE_TARGET_MKSPEC should be used instead.
Change-Id: I3636c57b835cb84511a358a0910cc482c5fbd81e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtFeature.cmake')
0 files changed, 0 insertions, 0 deletions