From 2a6e869eda2f15e5166d649f3d7a51cbfec7371e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 3 Jul 2018 09:45:03 +0200 Subject: filter/kalman: don't need operator new overload anymore MSVC 15.0+ supports correct alignment --- cmake/FindEigen3.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/FindEigen3.cmake b/cmake/FindEigen3.cmake index 2206ce43..b43208f9 100644 --- a/cmake/FindEigen3.cmake +++ b/cmake/FindEigen3.cmake @@ -80,5 +80,11 @@ else (EIGEN3_INCLUDE_DIR) endif(EIGEN3_INCLUDE_DIR) if(EIGEN3_FOUND) - add_definitions(-DEIGEN_MPL2_ONLY) + add_definitions( + -DEIGEN_MPL2_ONLY=1 + -DEIGEN_MAX_CPP_VER=17 + -DEIGEN_DEFAULT_DENSE_INDEX_TYPE=int + -DEIGEN_NO_DEBUG=1 + -DEIGEN_DONT_PARALLELIZE=1 + ) endif() -- cgit v1.2.3