Merge topic 'FindLAPACK-in-blas' into release-3.16

930f204b68 FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4144
This commit is contained in:
Brad King
2019-12-18 14:32:53 +00:00
committed by Kitware Robot

View File

@@ -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})