Permalink
Browse files

Use Eigen 3.3 if available

starting eigen 3.3.0 it has all the breaking fixes
that were present in the RCs, so we should allow using
3.3.x releases
  • Loading branch information...
1 parent 7b5b541 commit ab6b067017a18712d6b35d1834b4905ee2fdf147 @vigsterkr vigsterkr committed Nov 18, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 CMakeLists.txt
View
@@ -618,8 +618,7 @@ IF(NOT EIGEN3_FOUND)
LIST(APPEND SYSTEM_INCLUDES ${EIGEN_INCLUDE_DIR})
ELSE()
# eigen3 bug related to aliasing operators and self-storing.
- # TODO put in proper reference and version from when this is fixed
- IF(${EIGEN_VERSION} VERSION_GREATER 3.2.90)
+ IF(${EIGEN_VERSION} VERSION_GREATER 3.2.90 AND ${EIGEN_VERSION} VERSION_LESS 3.3.0)
MESSAGE(WARNING "The system Eigen3 version ${EIGEN_VERSION} is buggy, manually bundling.")
include(external/Eigen3)
ENDIF()

0 comments on commit ab6b067

Please sign in to comment.