From 57c7daf52e598f6576edda924162f72ed393a445 Mon Sep 17 00:00:00 2001 From: Anna Petrasova Date: Wed, 20 May 2026 15:23:26 -0400 Subject: [PATCH] cmake: fix FindLAPACKE picking openblas.pc over lapacke.pc --- cmake/find_scripts/FindLAPACKE.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/find_scripts/FindLAPACKE.cmake b/cmake/find_scripts/FindLAPACKE.cmake index 38925c25986..89593e7e728 100644 --- a/cmake/find_scripts/FindLAPACKE.cmake +++ b/cmake/find_scripts/FindLAPACKE.cmake @@ -61,6 +61,7 @@ macro(_search_lapacke_pkgs) pkg_check_modules(PKGC_LAPACKE QUIET ${_pkg}) if(PKGC_LAPACKE_FOUND) set(LAPACKE_PKGCONFIG ${_pkg}) + break() endif() endforeach() endmacro()