cmake: fix feature availability reporting
Some detected libraries were not reported when a feature is disabled. This change removes unnecessary second find_package calls and sets HAVE_xxx immediately based on xxx_FOUND.
Showing
Please register or sign in to comment