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)
commit5b4921d19ba1e77a1854d27d7c068c0f53d5467a (patch)
treec7da79f0cca938f071a6a4bbe48510abdc563574
parent6a16b98f397f542ae991447c34d9720bd7098ed7 (diff)
parent930f204b686daa1965d387eea02fbeca478e958e (diff)
downloadCMake-5b4921d19ba1e77a1854d27d7c068c0f53d5467a.zip
CMake-5b4921d19ba1e77a1854d27d7c068c0f53d5467a.tar.gz
CMake-5b4921d19ba1e77a1854d27d7c068c0f53d5467a.tar.bz2
Merge topic 'FindLAPACK-in-blas'
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})