CMake: Fix double inclusion of CMake plugin targets
Afterbb1099ace38d22, all plugin files are included automatically, not only the ones ending in Plugin.cmake. Thus the extra inclusion done by the QmlConfigExtras file should only be done if strict mode is set. Amends99ace38d22Amends 2f2dd3b0c28db210ea1f00d569f6c1626894c5f4 Task-number: QTBUG-83282 Change-Id: I416cbad6c4788d605a9a74f21062543c9c98e968 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
parent
8a9ba8b2ce
commit
7e7c649884
|
|
@ -14,7 +14,8 @@ if (NOT TARGET Qt5::uic)
|
|||
)
|
||||
endif()
|
||||
|
||||
include(\"${CMAKE_CURRENT_LIST_DIR}/Qt5Widgets_AccessibleFactory.cmake\" OPTIONAL)
|
||||
if (QT5_STRICT_PLUGIN_GLOB OR Qt5$${CMAKE_MODULE_NAME}_STRICT_PLUGIN_GLOB)
|
||||
include(\"${CMAKE_CURRENT_LIST_DIR}/Qt5Widgets_AccessibleFactory.cmake\" OPTIONAL)
|
||||
|
||||
set(Qt5Widgets_UIC_EXECUTABLE Qt5::uic)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue