FindMySQL: Only use mysql_config's output if there's no error

Authored by heikobecker on Mar 20 2018, 5:07 PM.

Description

FindMySQL: Only use mysql_config's output if there's no error

While any other distro I tried had --libmysqld-libs OpenSUSE
apparently doesn't have it, leading to build failures there (as
experienced on build.kde.org). So far the information provided seems
only needed on Debian based distros, so we can just do nothing if
the call isn't successful.

Details

Committed
heikobeckerMar 20 2018, 6:20 PM
Parents
R181:7371bc579fdf: Use Q_ENUM instead of Q_ENUMS
Branches
Unknown
Tags
Unknown