Check cmake <foo>_FOUND variables for existance

Authored by heikobecker on May 19 2018, 8:01 AM.

Description

Check cmake <foo>_FOUND variables for existance

Summary:
Otherwise if one passes -DCMAKE_DISABLE_FIND_PACKAGE_foo for all 5
optional dependencies cmake throws an error at you because they all
don't exist: 'if given arguments: "AND" "AND" "AND" "AND" Unknown
arguments specified'

Test Plan:
Error went away, still passes if optional deps aren't
disabled

Differential Revision: https://phabricator.kde.org/D12976

Details

Committed
heikobeckerMay 19 2018, 8:08 AM
Differential Revision
D12976: Check cmake <foo>_FOUND variables for existance
Parents
R838:a69b7217616a: Update version number for 5.12.90 GIT_SILENT
Branches
Unknown
Tags
Unknown