diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-03 00:56:24 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-03 00:56:24 -0600 |
commit | db6ff20c43112038cc901c605e02b4011dbe433d (patch) | |
tree | 6c7aed4afd163f1ba54acb4da53fe902dec2351d /BLAS | |
parent | c2f0429d7bf15a588f4a2a4e844a7c91212efbfc (diff) | |
download | lapack-db6ff20c43112038cc901c605e02b4011dbe433d.tar.gz lapack-db6ff20c43112038cc901c605e02b4011dbe433d.tar.bz2 lapack-db6ff20c43112038cc901c605e02b4011dbe433d.zip |
Use the BUILD_* option variables for BLAS and CBLAS
Removes duplication and allows error checking to be done in one spot.
Moved most of the status printouts to where the options are defined.
Diffstat (limited to 'BLAS')
-rw-r--r-- | BLAS/SRC/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/BLAS/SRC/CMakeLists.txt b/BLAS/SRC/CMakeLists.txt index 42930279..c0d5604a 100644 --- a/BLAS/SRC/CMakeLists.txt +++ b/BLAS/SRC/CMakeLists.txt @@ -116,16 +116,16 @@ set(ZBLAS3 zgemm.f zsymm.f zsyrk.f zsyr2k.f ztrmm.f ztrsm.f set(SOURCES) -if(BLAS_SINGLE) +if(BUILD_SINGLE) list(APPEND SOURCES ${SBLAS1} ${ALLBLAS} ${SBLAS2} ${SBLAS3}) endif() -if(BLAS_DOUBLE) +if(BUILD_DOUBLE) list(APPEND SOURCES ${DBLAS1} ${ALLBLAS} ${DBLAS2} ${DBLAS3}) endif() -if(BLAS_COMPLEX) +if(BUILD_COMPLEX) list(APPEND SOURCES ${CBLAS1} ${CB1AUX} ${ALLBLAS} ${CBLAS2} ${CBLAS3}) endif() -if(BLAS_COMPLEX16) +if(BUILD_COMPLEX16) list(APPEND SOURCES ${ZBLAS1} ${ZB1AUX} ${ALLBLAS} ${ZBLAS2} ${ZBLAS3}) endif() list(REMOVE_DUPLICATES SOURCES) |