summaryrefslogtreecommitdiff
path: root/CBLAS
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-02-03 00:56:24 -0600
committerKyle Guinn <elyk03@gmail.com>2017-02-03 00:56:24 -0600
commitdb6ff20c43112038cc901c605e02b4011dbe433d (patch)
tree6c7aed4afd163f1ba54acb4da53fe902dec2351d /CBLAS
parentc2f0429d7bf15a588f4a2a4e844a7c91212efbfc (diff)
downloadlapack-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 'CBLAS')
-rw-r--r--CBLAS/src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
index 38191838..ec31ee53 100644
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
@@ -99,16 +99,16 @@ set(ZLEV3 cblas_zgemm.c cblas_zsymm.c cblas_zhemm.c cblas_zherk.c
set(SOURCES)
-if(CBLAS_SINGLE)
+if(BUILD_SINGLE)
list(APPEND SOURCES ${SLEV1} ${SCLEV1} ${SLEV2} ${SLEV3} ${ERRHAND})
endif()
-if(CBLAS_DOUBLE)
+if(BUILD_DOUBLE)
list(APPEND SOURCES ${DLEV1} ${DLEV2} ${DLEV3} ${ERRHAND})
endif()
-if(CBLAS_COMPLEX)
+if(BUILD_COMPLEX)
list(APPEND SOURCES ${CLEV1} ${SCLEV1} ${CLEV2} ${CLEV3} ${ERRHAND})
endif()
-if(CBLAS_COMPLEX16)
+if(BUILD_COMPLEX16)
list(APPEND SOURCES ${ZLEV1} ${ZLEV2} ${ZLEV3} ${ERRHAND})
endif()
list(REMOVE_DUPLICATES SOURCES)