From b45b1ccf80ab90d48fe236e0bbea2e1de7189a7b Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 17 Sep 2021 19:21:45 +1000 Subject: [PATCH] Remove TODOs related to checking CMake 3.21 features post-release These TODOs were left as a marker to be checked once the official CMake 3.21.0 release was made. The things they refer to were included in the CMake 3.21.0 release, so the TODOs can be removed. Fixes: QTBUG-94528 Change-Id: I769605de85df657ad056123e787ec9849b77e42f Reviewed-by: Alexandru Croitor (cherry picked from commit c780708bd3ad58f1aade92df9c0cee7adcbd46f3) Reviewed-by: Qt Cherry-pick Bot --- cmake/QtBuildInternals/QtBuildInternalsConfig.cmake | 2 -- cmake/QtPublicTargetHelpers.cmake | 2 -- 2 files changed, 4 deletions(-) diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake index 687c9873089..472ce4fd0b9 100644 --- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake +++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake @@ -999,8 +999,6 @@ function(qt_internal_static_link_order_test) # linker line, it's expected that all object files are located at the beginning of the linker # line. # No need to run the test. - # TODO: This check is added before the actual release of CMake 3.21. So need to check if the - # target version meets the expectations. if(CMAKE_VERSION VERSION_LESS 3.21) __qt_internal_check_link_order_matters(link_order_matters) if(link_order_matters) diff --git a/cmake/QtPublicTargetHelpers.cmake b/cmake/QtPublicTargetHelpers.cmake index 571173e8aa8..8f6c434c4e6 100644 --- a/cmake/QtPublicTargetHelpers.cmake +++ b/cmake/QtPublicTargetHelpers.cmake @@ -124,8 +124,6 @@ function(__qt_internal_process_dependency_object_libraries target) # line. # So circular dependencies between static libraries and object files are resolved and no need # to call the finalizer code. - # TODO: This check is added before the actual release of CMake 3.21. So need to confirm that the - # target version meets the expectations. if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.21) return() endif()