Skip to content

Commit

Permalink
Update LAPACK logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Feb 15, 2024
1 parent f4c291d commit a39a1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ if(OPENMP)
find_package(OpenMP REQUIRED COMPONENTS Fortran)
endif()

if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel|IntelLLVM)$")
set(BLA_VENDOR Intel10_64lp_seq)
endif()
find_package(LAPACK)
find_package(LAPACK REQUIRED)

# Set compiler flags.
if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel|IntelLLVM)$")
Expand Down
1 change: 1 addition & 0 deletions cmake/PackageConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if(@OPENMP@)
find_dependency(OpenMP COMPONENTS Fortran)
endif()

set(BLA_VENDOR @BLA_VENDOR@)
find_dependency(LAPACK)

# The target name needs to be one that's built, even if the dependent
Expand Down

0 comments on commit a39a1ab

Please sign in to comment.