summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
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()