diff options
author | Brad King <brad.king@kitware.com> | 2021-07-27 15:22:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-27 15:22:35 (GMT) |
commit | ea28d28a6169b0431407f97403b3ac406997e153 (patch) | |
tree | d673aef6564dd89b74af9f699f0e8f93de383a80 | |
parent | 6643c444329691422d639d9c23cb5824a4ebbac6 (diff) | |
parent | a7f6e5dbf90f94cd2bdb4576650bf662755e8d9c (diff) | |
download | CMake-ea28d28a6169b0431407f97403b3ac406997e153.zip CMake-ea28d28a6169b0431407f97403b3ac406997e153.tar.gz CMake-ea28d28a6169b0431407f97403b3ac406997e153.tar.bz2 |
Merge topic 'FindBLAS-eml'
a7f6e5dbf9 FindBLAS: use unset instead of set for empty variables
92edd7376b FindBLAS: Fix regression in finding EML_mt after recent refactoring
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6397
-rw-r--r-- | Modules/FindBLAS.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 0898240..799d179 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -759,7 +759,7 @@ if(BLA_VENDOR MATCHES "Arm" OR BLA_VENDOR STREQUAL "All") "" ) endif() - set(_blas_armpl_lib) + unset(_blas_armpl_lib) endif() # FLAME's blis library? (https://github.com/flame/blis) @@ -1094,7 +1094,7 @@ if(BLA_VENDOR MATCHES "EML" OR BLA_VENDOR STREQUAL "All") # Check for OpenMP support, VIA BLA_VENDOR of eml_mt if(BLA_VENDOR MATCHES "_mt") - set(_blas_eml_lib "${BLAS_EML_LIB}_mt") + set(_blas_eml_lib "${_blas_eml_lib}_mt") endif() if(NOT BLAS_LIBRARIES) @@ -1109,7 +1109,7 @@ if(BLA_VENDOR MATCHES "EML" OR BLA_VENDOR STREQUAL "All") "" ) endif() - set(_blas_eml_lib) + unset(_blas_eml_lib) endif() # Fujitsu SSL2 Library? |