diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-11 13:41:39 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-12 19:26:52 +0200 |
commit | 58c1c6ee5c986d502b56eb1cc57f1d9444d42031 (patch) | |
tree | 19689d29d176e78ee7fb0fcc3f77b3b225d6baca /dist/changes-4.3CEkicker | |
parent | 55687924e3cc40b1ffc5a9038bb7e37d1ed6a19c (diff) |
CMake: Fix usage of find_dependency()
The find_dependency() macro calls return() on failure, meaning any code
after it will be ignored, thus checking any XXX_FOUND variables after
find_dependency() is pointless.
Fix the places where we use find_dependency() and set the "failed" state
before the call and the "success" state afterwards.
Change-Id: Ia5239c704f02a9bec972210374ffed7808b14055
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'dist/changes-4.3CEkicker')
0 files changed, 0 insertions, 0 deletions