From 35f0f5f5bec34c0c2953d545167795bd8dd13e31 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Wed, 15 Jan 2014 13:15:13 +0100 Subject: [PATCH] [cmake,bugfix] Corrects required version and make Eigen3 download work. At least on Debian requiring version 3.1 of Eigen3 is not sufficient according to issue #25 the minimum version is 3.1.2. This patch fixes the required version. In addition it skips the REQUIRED option passed to find_package(Eigen3) to make the git download work. Fixes #25. --- cmake/Modules/opm-autodiff-prereqs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/opm-autodiff-prereqs.cmake b/cmake/Modules/opm-autodiff-prereqs.cmake index 650e533c15..86fad9a34e 100644 --- a/cmake/Modules/opm-autodiff-prereqs.cmake +++ b/cmake/Modules/opm-autodiff-prereqs.cmake @@ -19,5 +19,5 @@ set (opm-autodiff_DEPS dune-istl REQUIRED; opm-core REQUIRED" # Eigen - "Eigen3 3.1 REQUIRED" + "Eigen3 3.1.2 " )