We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b349c63 commit b6d3d4fCopy full SHA for b6d3d4f
CMakeLists.txt
@@ -86,6 +86,7 @@ else()
86
ExternalProject_Add(eigen_src
87
UPDATE_COMMAND ""
88
URL http://bitbucket.org/eigen/eigen/get/3.2.10.tar.bz2
89
+ PATCH_COMMAND patch -p0 < ${CMAKE_SOURCE_DIR}/StdVector.patch
90
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CATKIN_DEVEL_PREFIX} -DCMAKE_BUILD_TYPE:STRING=Release
91
)
92
StdVector.patch
@@ -0,0 +1,18 @@
1
+--- Eigen/StdVector
2
++++ Eigen/StdVector
3
+@@ -11,6 +11,8 @@
4
+ #ifndef EIGEN_STDVECTOR_MODULE_H
5
+ #define EIGEN_STDVECTOR_MODULE_H
6
+
7
++#if __cplusplus < 201103L
8
++
9
+ #include "Core"
10
+ #include <vector>
11
12
+@@ -24,4 +26,6 @@
13
14
+ #endif
15
16
++#endif
17
18
+ #endif // EIGEN_STDVECTOR_MODULE_H
0 commit comments