CMake: Warn when using CMake 3.21.1
Changing a C++ source file can trigger rebuilds of a lot of other source files that might include AUTOGEN'ed headers or sources. See https://gitlab.kitware.com/cmake/cmake/-/issues/22531 for some details. Fixed in CMake 3.21.2. There are still files that are rebuilt even in 3.21.2, but it's less, and it returns to the status quo of how it was in 3.21.0 or earlier versions. Pick-to: 6.2 6.3 6.4 Task-number: QTBUG-104352 Change-Id: Ie1c991d52df48442d4134e4ed22a8137a3c993c8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
2a76c41fdd
commit
b3e3b12489
@ -189,6 +189,12 @@ function(qt_internal_warn_about_buggy_cmake_versions)
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/16776
|
||||
list(APPEND unsuitable_versions "3.21.0")
|
||||
|
||||
# Changing a C++ source file can trigger rebuilds of a lot of other source files that might
|
||||
# include AUTOGEN'ed headers or sources.
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/22531
|
||||
# Fixed in 3.21.2.
|
||||
list(APPEND unsuitable_versions "3.21.1")
|
||||
|
||||
# qt_ensure_perl fails to find perl in host PATH via find_program
|
||||
# due to Android Platform module setting CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH to OFF
|
||||
# Fixed in 3.20.6, 3.21.3. not a problem in CMake versions earlier than 3.20.0
|
||||
|
Loading…
Reference in New Issue
Block a user