Revert "Add the NO_CMAKE_PACKAGE_REGISTRY option forwarding to qt_find_package"

This reverts commit 3715cc356153bd8bc384ce4badfe6baece3d3768.

Reason for revert: Adding NO_CMAKE_PACKAGE_REGISTRY doesn't resolve the initial issue. So reverting this change as redundant.

Change-Id: Ifdb6e1b68e112f727a7e83bfa0d2665c49b5e20e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexey Edelev 2023-02-16 14:29:00 +00:00
parent 1e20d73073
commit 8fdb3ff39d

View File

@ -18,7 +18,7 @@ endfunction()
macro(qt_find_package)
# Get the target names we expect to be provided by the package.
set(find_package_options CONFIG NO_MODULE MODULE REQUIRED NO_CMAKE_PACKAGE_REGISTRY)
set(find_package_options CONFIG NO_MODULE MODULE REQUIRED)
set(options ${find_package_options} MARK_OPTIONAL)
set(oneValueArgs MODULE_NAME QMAKE_LIB)
set(multiValueArgs PROVIDED_TARGETS COMPONENTS OPTIONAL_COMPONENTS)