summaryrefslogtreecommitdiffstats
path: root/Tests/FindLAPACK
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-21 18:36:13 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-21 18:41:54 (GMT)
commit051c3a04498f89483edc43b468ae25748a7032a4 (patch)
tree413e0f144d7dab65626f6b316f1524ff725eff86 /Tests/FindLAPACK
parentf3f715688fb2b73652aee97b478d14d9c7689322 (diff)
downloadCMake-051c3a04498f89483edc43b468ae25748a7032a4.zip
CMake-051c3a04498f89483edc43b468ae25748a7032a4.tar.gz
CMake-051c3a04498f89483edc43b468ae25748a7032a4.tar.bz2
Find{BLAS,LAPACK}: Add test case covering BLA_STATIC with Intel MKL
Diffstat (limited to 'Tests/FindLAPACK')
-rw-r--r--Tests/FindLAPACK/Test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindLAPACK/Test/CMakeLists.txt b/Tests/FindLAPACK/Test/CMakeLists.txt
index 67fb9bd..bb33482 100644
--- a/Tests/FindLAPACK/Test/CMakeLists.txt
+++ b/Tests/FindLAPACK/Test/CMakeLists.txt
@@ -13,7 +13,7 @@ target_link_libraries(test_var PRIVATE ${LAPACK_LIBRARIES})
add_test(NAME test_var COMMAND test_var)
if(BLA_VENDOR STREQUAL "Intel10_64lp")
- if(NOT LAPACK_LIBRARIES MATCHES "^[^;]*mkl_intel_lp64")
+ if(NOT LAPACK_LIBRARIES MATCHES "^(-Wl,--start-group;)?[^;]*mkl_intel_lp64")
message(FATAL_ERROR "LAPACK_LIBRARIES does not start in mkl_intel_lp64:\n ${LAPACK_LIBRARIES}")
endif()
endif()