summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-29 18:19:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-29 18:19:28 +0200
commit13fba78bc99b69c592dd058017b2c3815e23abca (patch)
treed4df0b41ca249263371541eb7ce2af7f2fa1f3c6 /cmake
parent5b0a416a1768628f59b353e185fd3dd36babb3e6 (diff)
add eigen license, and make sure we're not using any GPL bits whatsoever
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindEigen3.cmake3
1 files changed, 3 insertions, 0 deletions
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()