From 51542539330435fba70c483f7bf8a76001b0f5b9 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 6 Feb 2013 11:30:33 +0100 Subject: Fix some MPL2/LGPL lisencing confusions --- Eigen/SparseCholesky | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Eigen/SparseCholesky') diff --git a/Eigen/SparseCholesky b/Eigen/SparseCholesky index f94e2e765..800f17bc4 100644 --- a/Eigen/SparseCholesky +++ b/Eigen/SparseCholesky @@ -20,11 +20,19 @@ * \endcode */ +#ifdef EIGEN_MPL2_ONLY +#error The SparseCholesky module has nothing to offer in MPL2 only mode +#endif + #include "src/misc/Solve.h" #include "src/misc/SparseSolve.h" #include "src/SparseCholesky/SimplicialCholesky.h" +#ifndef EIGEN_MPL2_ONLY +#include "src/SparseCholesky/SimplicialCholesky_impl.h" +#endif + #include "src/Core/util/ReenableStupidWarnings.h" #endif // EIGEN_SPARSECHOLESKY_MODULE_H -- cgit v1.2.3