diff options
Diffstat (limited to 'cmake/QtPlugins.cmake.in')
-rw-r--r-- | cmake/QtPlugins.cmake.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cmake/QtPlugins.cmake.in b/cmake/QtPlugins.cmake.in index fd3370b9a2..d57611caec 100644 --- a/cmake/QtPlugins.cmake.in +++ b/cmake/QtPlugins.cmake.in @@ -35,18 +35,6 @@ function(__qt_internal_add_static_plugins_once) # Plugin genex marker for prl processing. set(_is_plugin_marker_genex "$<BOOL:QT_IS_PLUGIN_GENEX>") - # In super builds the rules below pollute the dependency rule for the - # plugin target when it's being build, causing cyclic dependencies. - # to overcome this, we check if the current target where this rule evaluates - # has a QT_BUILD_PROJECT_NAME equal to the current PROJECT_NAME. - # If so we disable the injection of plugin link rules to avoid cyclic - # dependencies. - if (@QT_SUPERBUILD@) - set(_build_allow_plugin_link_rules_genex "$<NOT:$<STREQUAL:$<TARGET_PROPERTY:QT_BUILD_PROJECT_NAME>,@PROJECT_NAME@>>") - else() - set(_build_allow_plugin_link_rules_genex 1) - endif() - # The code in here uses the properties defined in qt_import_plugins (Qt6CoreMacros.cmake) foreach(target ${_qt_plugins}) set(_plugin_target "@INSTALL_CMAKE_NAMESPACE@::${target}") @@ -115,7 +103,6 @@ function(__qt_internal_add_static_plugins_once) string(CONCAT _plugin_condition "$<BOOL:$<AND:" "${_is_plugin_marker_genex}," - "${_build_allow_plugin_link_rules_genex}," "$<OR:" "${_plugin_is_whitelisted}," "${_plugin_versionless_is_whitelisted}," |