clean the support for testing existing sparse problems

This commit is contained in:
Gael Guennebaud
2012-06-07 18:31:09 +02:00
parent 83c932ed15
commit 512e0b151b
2 changed files with 9 additions and 10 deletions

View File

@@ -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 " ")