Skip to content

Commit

Permalink
Revert "Add the NO_CMAKE_PACKAGE_REGISTRY option forwarding to qt_fin…
Browse files Browse the repository at this point in the history
…d_package"

This reverts commit 545400a.

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

Change-Id: I284600d6f0e0f2408a7a8b31827251dad4c73eba
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
semlanik committed Feb 17, 2023
1 parent 36ba00a commit 8d99866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QtFindPackageHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8d99866

Please sign in to comment.