diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 09:45:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 09:45:03 +0200 |
commit | 2a6e869eda2f15e5166d649f3d7a51cbfec7371e (patch) | |
tree | 51e2e2fff174f0511231418248bee20bea92e004 /cmake/FindEigen3.cmake | |
parent | 21cb382c2a09405d9ca85e4193582bfd8ae00731 (diff) |
filter/kalman: don't need operator new overload anymore
MSVC 15.0+ supports correct alignment
Diffstat (limited to 'cmake/FindEigen3.cmake')
-rw-r--r-- | cmake/FindEigen3.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
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() |