Skip to content
Snippets Groups Projects
Commit 75e05e89 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

[CMake] add OGS_USE_EIGEN_UNSUPPORTED option

parent 443ea1c8
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,7 @@ option(OGS_USE_MPI "Use MPI" OFF)
# Eigen
option(OGS_USE_EIGEN "Use Eigen linear solver" ON)
option(OGS_USE_EIGEN_UNSUPPORTED "Use Eigen unsupported modules" ON)
option(OGS_EIGEN_DYNAMIC_SHAPE_MATRICES "Use dynamically allocated shape matrices" ON)
option(EIGEN_NO_DEBUG "Disables Eigen's assertions" OFF)
......@@ -171,6 +172,9 @@ endif()
if(OGS_USE_EIGEN)
add_definitions(-DOGS_USE_EIGEN)
if(OGS_USE_EIGEN_UNSUPPORTED)
add_definitions(-DUSE_EIGEN_UNSUPPORTED)
endif()
endif()
if (OGS_FATAL_ABORT)
......
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