summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-09-09 16:19:11 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-09-12 19:26:58 +0200
commit3685483c4b79b4075bab6d341174a395359d1b4a (patch)
treee27e0dc368cc7d712cc8cd91c8f787e0151caf8d /src/gui
parenta3cb002511d7e2cc73234611795c1947620aedd5 (diff)
CMake: Add facility to mark package dependencies as optional
Every public dependency of a Qt module results in a find_package call in the consuming project. But not all public dependencies are mandatory. For example, vulkan is only needed if the user project actually uses Qt classes that pull in vulkan headers. This patch adds the option MARK_OPTIONAL to qt_find_package. Dependencies that are marked as optional will not produce an error on find failure. Task-number: QTBUG-86421 Change-Id: Ia767e7f36991e236582c7509cbd37ea3487bb695 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions