diff options
author | Brad King <brad.king@kitware.com> | 2019-12-17 16:54:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-18 10:51:50 (GMT) |
commit | 930f204b686daa1965d387eea02fbeca478e958e (patch) | |
tree | 0400d7125e0269385ce991af3546c29d30b4279c | |
parent | 4771c4e447c88a0e6a361d98c2c6f44ac7746ad3 (diff) | |
download | CMake-930f204b686daa1965d387eea02fbeca478e958e.zip CMake-930f204b686daa1965d387eea02fbeca478e958e.tar.gz CMake-930f204b686daa1965d387eea02fbeca478e958e.tar.bz2 |
FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries
Fix the condition added by commit 68dcbeee01 (FindLAPACK: Test for
implicitly linked LAPACK libraries, 2019-06-11, v3.16.0-rc1~560^2) to
use BLAS libraries if they are sufficient with no dedicated LAPACK
libraries.
Fixes: #20099
-rw-r--r-- | Modules/FindLAPACK.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 844d36d..3cb3653 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -174,7 +174,7 @@ if(_libraries_work) endif() if(_libraries_work) - if("${_list}" STREQUAL "") + if("${_list}${_blas}" STREQUAL "") set(${LIBRARIES} "${LIBRARIES}-PLACEHOLDER-FOR-EMPTY-LIBRARIES") else() set(${LIBRARIES} ${${LIBRARIES}} ${_blas} ${_threads}) |