Skip to content

Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requested

Brad King requested to merge brad.king/cmake:FindBLAS-LAPACK-All into master

Logic added by !5954 (merged) accidentally expressed a boolean condition without proper grouping. The pattern was then copied by !6089 (merged). The resulting logic incorrectly tries Fujitsu and NVHPC vendors even after results are found from another vendor, and then erases those. Fix the grouping.

Fixes: #22403 (closed)
Backport: release

Merge request reports