Skip to content

Commit d650fc5

Browse files
committed
Update the Meson build system for CBLAS
1 parent 6faded7 commit d650fc5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ endif
3333
if libblas_path != [] or not libblas.found()
3434
libblas = fc.find_library(libblas_name, dirs : libblas_path, required : false)
3535
endif
36+
if libcblas_path == []
37+
libcblas = dependency(libcblas_name, required : false)
38+
endif
39+
if libcblas_path != [] or not libcblas.found()
40+
libcblas = fc.find_library(libcblas_name, dirs : libcblas_path, required : false)
41+
endif
3642

3743
# Headers
3844
libdiffblas_include = include_directories('BLAS/include', 'TAPENADE/include')

0 commit comments

Comments
 (0)