mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +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
.
This commit is contained in:
parent
7e096ddcb0
commit
6f429a202d
@ -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