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.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> (cherry picked from commit d83081c78e96aa493727159f1a3fedeaf4a3b812)
This commit is contained in:
parent
2a2d284532
commit
634b42226f
@ -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@")
|
||||
@ -23,6 +23,4 @@ unset(__qt_@target@_find_dependency_paths)
|
||||
|
||||
if(__qt_${target}_missing_deps)
|
||||
set(@target@_FOUND FALSE)
|
||||
else()
|
||||
set(@target@_FOUND TRUE)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user