From d4121dd8768a116ea76b1c359bac561fe44f40ef Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Mon, 9 Jan 2023 17:08:54 +0100 Subject: [PATCH] Remove an unnecessary call to _qt_internal_generate_tool_command_wrapper Alexandru mentioned that at the time qtdeclarative was still using the variable, but from then, he replaced those as well, and I couldn't find any usage anymore either. Change-Id: I6a1893c2dfaa483dc8cb865f7bacf08cadca985b Reviewed-by: Alexandru Croitor --- cmake/QtBuild.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 7f87cf71b15..5b66dc1308b 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -563,11 +563,6 @@ endif() _qt_internal_determine_if_host_info_package_needed(__qt_build_requires_host_info_package) _qt_internal_find_host_info_package("${__qt_build_requires_host_info_package}") -# Create tool script wrapper if necessary. -# TODO: Remove once all direct usages of QT_TOOL_COMMAND_WRAPPER_PATH are replaced with function -# calls. -_qt_internal_generate_tool_command_wrapper() - # This sets up the poor man's scope finalizer mechanism. # For newer CMake versions, we use cmake_language(DEFER CALL) instead. if(CMAKE_VERSION VERSION_LESS "3.19.0")