Browse Source

Fix all conditionals that still use the risky "DEFINED"

pull/3969/head
Martin Kroeker GitHub 3 years ago
parent
commit
3e2f1a6d83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      interface/CMakeLists.txt

+ 4
- 4
interface/CMakeLists.txt View File

@@ -64,11 +64,11 @@ set(BLAS3_MANGLED_SOURCES
# generate the BLAS objs once with and once without cblas
set (CBLAS_FLAGS "")

if (NOT DEFINED NO_FBLAS)
if (NOT NO_FBLAS)
list(APPEND CBLAS_FLAGS 0)
endif ()

if (NOT DEFINED NO_CBLAS)
if (NOT NO_CBLAS)
list(APPEND CBLAS_FLAGS 1)
endif ()

@@ -166,7 +166,7 @@ endforeach ()
endforeach ()

#Special functions for CBLAS
if (NOT DEFINED NO_CBLAS)
if (NOT NO_CBLAS)
foreach (float_type ${FLOAT_TYPES})
if (${float_type} STREQUAL "COMPLEX" OR ${float_type} STREQUAL "ZCOMPLEX")
#cblas_dotc_sub cblas_dotu_sub
@@ -176,7 +176,7 @@ if (NOT DEFINED NO_CBLAS)
endforeach ()
endif()

if (NOT DEFINED NO_LAPACK)
if (NOT NO_LAPACK)
set(LAPACK_SOURCES
lapack/gesv.c
)


Loading…
Cancel
Save