Assume that the Qt Plugin package is FOUND by default
Set the <package>_FOUND variable to TRUE by default, so the follow logic that need to change the flag only need to take care about setting it to FALSE if something exceptional occurred. Amends 8d0283ad2cae3d8fbd4b1b7ee5c6454f7fcc079c Pick-to: 6.8 6.5 Change-Id: Idd4407ea77e81703b5fa8cc5efa8c52b53d401ae Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 13608241793f6671500868c9ce96468f604f651e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b942110a4a
commit
d83081c78e
@ -1,7 +1,7 @@
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
set(@target@_FOUND FALSE)
|
||||
set(@target@_FOUND TRUE)
|
||||
|
||||
# note: _third_party_deps example: "ICU\\;FALSE\\;1.0\\;i18n uc data;ZLIB\\;FALSE\\;\\;"
|
||||
set(__qt_@target@_third_party_deps "@third_party_deps@")
|
||||
@ -20,6 +20,4 @@ _qt_internal_find_qt_dependencies("@target@" __qt_@target@_target_deps
|
||||
|
||||
if(__qt_${target}_missing_deps)
|
||||
set(@target@_FOUND FALSE)
|
||||
else()
|
||||
set(@target@_FOUND TRUE)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user