Permalink
Browse files

config.h fix

only inlcude C++ header if compiling C++ code
  • Loading branch information...
1 parent c507fb8 commit 66b986abebbb89e9bdd11c21c1697af700abc300 @RainerKuemmerle committed Sep 21, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 config.h.in
View
@@ -14,6 +14,8 @@
#cmakedefine G2O_CXX_COMPILER "@G2O_CXX_COMPILER@"
+#ifdef __cplusplus
#include <g2o/core/eigen_types.h>
+#endif
#endif

0 comments on commit 66b986a

Please sign in to comment.