aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-03-29 15:00:27 +1100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-30 18:48:15 +0000
commit43cd08cde3e9115753a6b3a817419f199c703405 (patch)
tree2832736433408f7f661d10960d169aae8c335e1f /src/quick
parentc3cc4c7abba34107f3c32dcc2fda2b6fcede35fe (diff)
Prevent CMP0116 warning with CMake 3.20 or later
CMake 3.20 introduced a change in the handling of relative paths in *.d depfiles referenced by custom commands. To avoid a CMP0116 policy warning, we have to explicitly set the policy to NEW and also change the relative path(s) we embed in the depfiles to be relative to CMAKE_CURRENT_BINARY_DIR rather than the top level binary directory. Fixes: QTBUG-92026 Change-Id: I1a84d29f1a8d5c48bae5bc11596806f1e0e07919 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 8deb1b279fad2b10598af0870dd3b0d99f5ef128) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick')
0 files changed, 0 insertions, 0 deletions