From 16a945abdf6a949822929b7c90c2ffd6de8745d0 Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Fri, 17 Jun 2016 13:09:24 +0200
Subject: [PATCH] set OGS_USE_EIGEN on if Lis is enabled

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5d94fc6c9c..a0eb462d670 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,6 +120,7 @@ option(OGS_ENABLE_ELEMENT_PYRAMID "Build FEM elements for pyramids." ON)
 if(OGS_USE_LIS)
     add_definitions(-DUSE_LIS)
     include_directories(SYSTEM ${LIS_INCLUDE_DIR})
+    set(OGS_USE_EIGEN ON)
 endif()
 
 if(OGS_USE_PETSC)
-- 
GitLab