diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-29 10:46:53 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-30 10:13:34 +0200 |
| commit | 8ddd3ee60bff1197b251feadf871fdaeb995ef3b (patch) | |
| tree | e66c461d2478fb054a74430e78aee1648404daac /src/gui/doc/snippets/plaintextlayout | |
| parent | 49212cb55a4058f7d8c2f54492e2cf1112e37a09 (diff) | |
Revert "CMake: qt_find_package() enable debug behavior by default"
It broke configuration of qtwayland standalone tests, due to qtwayland
doing 3 separate qt_find_package(Wayland) calls with the same package
but different arguments in 3 different directory scopes.
The top scope didn't have PROVIDED_TARGETS argument. The rest of the
scopes did have the arguments with either Server or Client, but because
of the debug behavior above being enabled by default the dependencies
weren't registered in the Qt6WaylandClientDependencies.cmake file (and
the server equivalent).
The registration didn't happen due to the skipping logic, when a package
is found and the targets already exist.
This led to standalone tests failing to configure because they tried
linking against non-existent Wayland::Client and Wayland::Server
targets.
This reverts commit dd7e40b1086020f6a054957f4972720cd6849280.
Change-Id: I60e358a4891b84ecec0e127d9de8ab9747a6ab24
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Diffstat (limited to 'src/gui/doc/snippets/plaintextlayout')
0 files changed, 0 insertions, 0 deletions
