summaryrefslogtreecommitdiffstats
path: root/Tests/FindBLAS/Test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-15 15:10:14 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-15 15:10:19 (GMT)
commitb65912006e5c0644329b838103226597af4fecef (patch)
treeafbdcf4d16e21427dfca81c6d5409d8e82be941b /Tests/FindBLAS/Test
parentc7edf43206b7cd5dff44f437b8ada8015dc3e89d (diff)
parentdcd604ee621e191acf9e91faab8e47507184d7e9 (diff)
downloadCMake-b65912006e5c0644329b838103226597af4fecef.zip
CMake-b65912006e5c0644329b838103226597af4fecef.tar.gz
CMake-b65912006e5c0644329b838103226597af4fecef.tar.bz2
Merge topic 'FindBLAS-FindLAPACK'
dcd604ee62 Find{BLAS,LAPACK}: Make library variable names more robust 98ef6632d9 Find{BLAS,LAPACK}: Generalize recognition of dependencies as link flags a57c4eef76 Find{BLAS,LAPACK}: Convert internal CHECK_*_LIBRARIES to functions a5a6ac7033 Find{BLAS,LAPACK}: Clarify name of internal argument for dependencies d248401d12 Find{BLAS,LAPACK}: Simplify appending to list of libraries e4649d1d15 Find{BLAS,LAPACK}: Add test case covering Intel MKL 116edb5c04 Find{BLAS,LAPACK}: Revert bad refactoring of internal CHECK_*_LIBRARIES 44bcec240b ci: factor out Intel Compiler common configure script Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6005
Diffstat (limited to 'Tests/FindBLAS/Test')
-rw-r--r--Tests/FindBLAS/Test/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/FindBLAS/Test/CMakeLists.txt b/Tests/FindBLAS/Test/CMakeLists.txt
index 59418f3..1bebf8e 100644
--- a/Tests/FindBLAS/Test/CMakeLists.txt
+++ b/Tests/FindBLAS/Test/CMakeLists.txt
@@ -11,3 +11,9 @@ add_test(NAME test_tgt COMMAND test_tgt)
add_executable(test_var main.c)
target_link_libraries(test_var PRIVATE ${BLAS_LIBRARIES})
add_test(NAME test_var COMMAND test_var)
+
+if(BLA_VENDOR STREQUAL "Intel10_64lp")
+ if(NOT BLAS_LIBRARIES MATCHES "^[^;]*mkl_intel_lp64")
+ message(FATAL_ERROR "BLAS_LIBRARIES does not start in mkl_intel_lp64:\n ${BLAS_LIBRARIES}")
+ endif()
+endif()