mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-08 14:11:49 +08:00
Add missing dependency on LAPACK test suite binaries to target buildtests
, so make check
will work correctly when EIGEN_ENABLE_LAPACK_TESTS
is ON
.
(cherry picked from commit 6f429a202dc01e4e88d423d65bd3aa81a7af7d64)
This commit is contained in:
parent
0fdc99c65e
commit
9263475740
@ -1,4 +1,3 @@
|
||||
|
||||
project(EigenLapack CXX)
|
||||
|
||||
include(CheckLanguage)
|
||||
@ -152,6 +151,7 @@ if(EXISTS ${eigen_full_path_to_testing_lapack})
|
||||
string(REPLACE "." "_" input_name ${input})
|
||||
set(testName "${target}_${input_name}")
|
||||
if(EXISTS "${TEST_INPUT}")
|
||||
add_dependencies(buildtests ${target})
|
||||
add_test(NAME LAPACK-${testName}
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
-DTEST=$<TARGET_FILE:${target}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user