summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-18 14:32:53 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-18 14:33:21 (GMT)
commit118f7efba99f7e137268d41d531d552317ebb228 (patch)
treeb259da4ed883f0f43b6090bad9259a8d89f42929
parent62475f7da0ae71854053c4aba93b524667a191ec (diff)
parent930f204b686daa1965d387eea02fbeca478e958e (diff)
downloadCMake-118f7efba99f7e137268d41d531d552317ebb228.zip
CMake-118f7efba99f7e137268d41d531d552317ebb228.tar.gz
CMake-118f7efba99f7e137268d41d531d552317ebb228.tar.bz2
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
-rw-r--r--Modules/FindLAPACK.cmake2
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})