diff --git a/scripts/cmake/Find.cmake b/scripts/cmake/Find.cmake index ba434da7d4e..f61f6be02fc 100644 --- a/scripts/cmake/Find.cmake +++ b/scripts/cmake/Find.cmake @@ -103,7 +103,9 @@ if(OGS_USE_MKL) endif() endif() find_package(BLAS) -find_package(LAPACK) +if(OGS_USE_MKL) + find_package(LAPACK) +endif() if(OGS_USE_MKL) if(GUIX_BUILD)