From 13fba78bc99b69c592dd058017b2c3815e23abca Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 29 Aug 2016 18:19:14 +0200 Subject: add eigen license, and make sure we're not using any GPL bits whatsoever --- cmake/FindEigen3.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake') diff --git a/cmake/FindEigen3.cmake b/cmake/FindEigen3.cmake index fc29db7e..2206ce43 100644 --- a/cmake/FindEigen3.cmake +++ b/cmake/FindEigen3.cmake @@ -79,3 +79,6 @@ else (EIGEN3_INCLUDE_DIR) endif(EIGEN3_INCLUDE_DIR) +if(EIGEN3_FOUND) + add_definitions(-DEIGEN_MPL2_ONLY) +endif() -- cgit v1.2.3