mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
clean the support for testing existing sparse problems
This commit is contained in:
@@ -18,13 +18,15 @@ set(LAPACK_FOUND TRUE)
|
||||
set(BLAS_LIBRARIES eigen_blas)
|
||||
set(LAPACK_LIBRARIES eigen_lapack)
|
||||
|
||||
if(TEST_REAL_CASES)
|
||||
set(EIGEN_TEST_MATRIX_DIR "" CACHE STRING "Enable testing of realword sparse matrices contained in the specified path")
|
||||
if(EIGEN_TEST_MATRIX_DIR)
|
||||
if(NOT WIN32)
|
||||
add_definitions( -DTEST_REAL_CASES="${TEST_REAL_CASES}" )
|
||||
message(STATUS "Test realworld sparse matrices: ${EIGEN_TEST_MATRIX_DIR}")
|
||||
add_definitions( -DTEST_REAL_CASES="${EIGEN_TEST_MATRIX_DIR}" )
|
||||
else(NOT WIN32)
|
||||
message(STATUS, "REAL CASES CAN NOT BE CURRENTLY TESTED ON WIN32")
|
||||
message(STATUS "REAL CASES CAN NOT BE CURRENTLY TESTED ON WIN32")
|
||||
endif(NOT WIN32)
|
||||
endif(TEST_REAL_CASES)
|
||||
endif(EIGEN_TEST_MATRIX_DIR)
|
||||
|
||||
set(SPARSE_LIBS " ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user