mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-18 20:10:09 +00:00
Fixing link to OpenBLAS
This commit is contained in:
parent
3e99566dd3
commit
2fcb2e14e8
@ -582,7 +582,7 @@ if(OS_IS_LINUX)
|
||||
#############################################################################
|
||||
# Check that BLAS is found in the system
|
||||
# BLAS is used for matrix multiplication.
|
||||
#ÊWithout BLAS, matrix multiplication will still work, but might be slower.
|
||||
# Without BLAS, matrix multiplication will still work, but might be slower.
|
||||
#############################################################################
|
||||
find_library(BLAS blas)
|
||||
if(NOT BLAS)
|
||||
@ -698,7 +698,7 @@ if(NOT ARMADILLO_FOUND)
|
||||
find_library(LAPACK NAMES lapack HINTS /usr/lib /usr/local/lib /usr/lib64)
|
||||
find_package(OpenBLAS)
|
||||
if(OPENBLAS_FOUND)
|
||||
set(BLAS OPENBLAS)
|
||||
set(BLAS ${OPENBLAS})
|
||||
endif(OPENBLAS_FOUND)
|
||||
set(ARMADILLO_LIBRARIES ${BLAS} ${LAPACK} ${GFORTRAN} ${binary_dir}/${CMAKE_FIND_LIBRARY_PREFIXES}armadillo.a)
|
||||
set(LOCAL_ARMADILLO true CACHE STRING "Armadillo downloaded and built automatically" FORCE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user