Skip to content

Commit

Permalink
install: correct LAPACK dependency
Browse files Browse the repository at this point in the history
Co-authored-by: Dario Mangoni <dariomangoni@users.noreply.github.com>
  • Loading branch information
scivision and dariomangoni committed May 16, 2024
1 parent b7439f1 commit 25b94c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmake/config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ set(MUMPS_d_FOUND @BUILD_DOUBLE@)
set(MUMPS_c_FOUND @BUILD_COMPLEX@)
set(MUMPS_z_FOUND @BUILD_COMPLEX16@)

if(NOT DEFINED ENV{MKLROOT})
find_dependency(LAPACK)
endif()

if(MUMPS_parallel)
find_dependency(MPI COMPONENTS C Fortran)
find_dependency(SCALAPACK)
else()
set(MUMPS_mpiseq_FOUND true)
find_dependency(LAPACK)
endif()

set(MUMPS_Scotch_FOUND @scotch@)
Expand Down

0 comments on commit 25b94c2

Please sign in to comment.