Skip to content

Commit

Permalink
More build script work
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristopherson committed Jan 22, 2025
1 parent a37f0c2 commit 213284e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@ add_subdirectory(dependencies)

if (NOT BLAS_FOUND OR NOT LAPACK_FOUND)
message(STATUS "BLAS/LAPACK could not be found. A reference version will be employed.")
add_subdirectory(lapack)
include(FetchContent)
FetchContent_Declare(
lapack
GIT_REPOSITORY "https://github.com/Reference-LAPACK/lapack"
)
FetchContent_MakeAvailable(lapack)
endif()

print_all_variables()

# Source
add_subdirectory(src)
add_fortran_library(
Expand Down
13 changes: 0 additions & 13 deletions lapack/CMakeLists.txt

This file was deleted.

0 comments on commit 213284e

Please sign in to comment.