Skip to content
Snippets Groups Projects
Commit 04829860 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

re-introduce OGS_USE_EIGENLIS

parent 308985bc
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ if(OGS_USE_MPI)
endif()
if(OGS_USE_EIGEN)
add_definitions(-DEIGEN_INITIALIZE_MATRICES_BY_ZERO)
add_definitions(-DEIGEN_INITIALIZE_MATRICES_BY_ZERO) # TODO check if needed
add_definitions(-DOGS_USE_EIGEN)
if (EIGEN_NO_DEBUG)
add_definitions(-DEIGEN_NO_DEBUG)
......@@ -136,6 +136,17 @@ if(OGS_USE_EIGEN)
endif()
endif()
if (OGS_USE_EIGENLIS)
if (NOT OGS_USE_EIGEN)
message(FATAL_ERROR "OGS_USE_EIGENLIS needs OGS_USE_EIGEN to be set!")
endif()
if (NOT OGS_USE_LIS)
message(FATAL_ERROR "OGS_USE_EIGENLIS needs OGS_USE_LIS to be set!")
endif()
add_definitions(-DOGS_USE_EIGENLIS)
endif()
if(OGS_BUILD_TESTS)
set(Data_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/Tests/Data CACHE INTERNAL "")
set(Data_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/Tests/Data CACHE INTERNAL "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment