diff --git a/CMakeLists.txt b/CMakeLists.txt index 02c72b5..15a947e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -582,7 +582,7 @@ include_directories( # Note that this is *not* propagated to clients, ie CERES_INCLUDE_DIRS # used by clients after find_package(Ceres) does not identify Eigen as # as system headers. -include_directories(SYSTEM ${EIGEN_INCLUDE_DIRS}) +include_directories(SYSTEM ${EIGEN_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}/Eigen) if (SUITESPARSE) include_directories(${SUITESPARSE_INCLUDE_DIRS})