diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-14 15:49:07 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-14 15:02:52 +0000 |
commit | 71190238298c6dd17f8841678d3a058c3008fe20 (patch) | |
tree | 7e18b635c790a5903089de8db8bb6e5ec6f1d78c /tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp | |
parent | dcb1253d931942ebb4ec16bbe843941e25df5aff (diff) |
Always try to find dependencies for plugins
Generated plugin CMake files should always try to call
find_dependency, especially in static builds.
pkg_check_modules sets a cache value for foo_FOUND instead of
a directory scope foo_FOUND, which means that find_dependency
will not be called in another scope, and thus fail to create
needed imported targets.
Note this makes the code be the same as in
ModuleDependencies.cmake.in.
Change-Id: I0b58b038afcb72cb27d0b433371bc9cb5e4bfec9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp')
0 files changed, 0 insertions, 0 deletions