summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-06-29 14:07:01 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-08-03 08:02:37 +0200
commit626c3f56cf62ad01d991788c779b38f354ade1fa (patch)
tree85058cf3588ef0d4f668a8804555620afca299a5 /cmake
parent4bda4b30ee4ad6773eccd7c3ec3d5979806cde38 (diff)
CMake: Remove internal __qt_add_plugin_*_args variables
All references to these variables have been removed from Qt repositories. Change-Id: Icca4668ec183ff543d04097600f8a8869066f8cc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuild.cmake37
1 files changed, 0 insertions, 37 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 4b7cc643bb..e981d43f67 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -561,43 +561,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}")
-# TODO: This block provides support for old variables. It should be removed once
-# we remove all references to these variables in other Qt module repos.
-# Prefer to use the provided commands to retrieve the relevant things instead.
-# We won't have the queried command when we get here for qtbase (it is
-# provided by the Core module), but we will for all other repos (which
-# is all we need).
-if(COMMAND _qt_internal_get_add_plugin_keywords)
- _qt_internal_get_add_plugin_keywords(
- __qt_public_add_plugin_option_args
- __qt_public_add_plugin_single_args
- __qt_public_add_plugin_multi_args
- )
- qt_internal_get_internal_add_plugin_keywords(
- __qt_internal_add_plugin_option_args
- __qt_internal_add_plugin_single_args
- __qt_internal_add_plugin_multi_args
- )
- set(__qt_add_plugin_optional_args
- ${__qt_public_add_plugin_option_args}
- ${__qt_internal_add_plugin_option_args}
- )
- set(__qt_add_plugin_single_args
- ${__qt_public_add_plugin_single_args}
- ${__qt_internal_add_plugin_single_args}
- )
- set(__qt_add_plugin_multi_args
- ${__qt_public_add_plugin_multi_args}
- ${__qt_internal_add_plugin_multi_args}
- )
- unset(__qt_public_add_plugin_option_args)
- unset(__qt_public_add_plugin_single_args)
- unset(__qt_public_add_plugin_multi_args)
- unset(__qt_internal_add_plugin_option_args)
- unset(__qt_internal_add_plugin_single_args)
- unset(__qt_internal_add_plugin_multi_args)
-endif()
-
# 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")