summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qgenericunixservices.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-12-12 12:40:02 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-12-12 20:10:11 +0100
commit82601c120501cbb03985d456edd69eec4cfe5bc8 (patch)
tree28d60f294e1ca33875eb13d534be6f17400eb7aa /src/gui/platform/unix/qgenericunixservices.cpp
parentf89c948c0ccee953ab5e3e28439cdbbecde35d17 (diff)
CMake: Handle non-existent targets when collecting dependencies
When collecting the dependencies of a target, it can happen that we encounter a target that is not visible in the current directory scope. This can usually be fixed by moving the corresponding find_package call to a higher directory. Detect this situation and print a warning with instruction how to silence this warning: either by fixing the situation or by setting QT_SILENCE_MISSING_DEPENDENCY_TARGET_WARNING. Fixes: QTBUG-108286 Change-Id: I9033fedbd81ef0710b7cc11fab0e94e67c74ff86 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions