summaryrefslogtreecommitdiffstats
path: root/cmake/QtFeature.cmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-07-05 18:07:34 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2021-07-13 14:31:16 +0200
commitadfb767bcc21a54e916d99d35c04845e76aae43d (patch)
treea7e5a9c6095910db2b568b66adeacd8353ba3d46 /cmake/QtFeature.cmake
parent3c88e12beb22d8ea11b8a7006a71ba9773c6d183 (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