From 5f40000082c551a26b2ea13444f8278275110ed1 Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Wed, 2 Apr 2014 09:53:53 -0400 Subject: [PATCH] cmake: Silence Eigen >= 3.2.0 warnings about deprecated Eigen2 --- orocos_kdl/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orocos_kdl/CMakeLists.txt b/orocos_kdl/CMakeLists.txt index b984605..2497590 100644 --- a/orocos_kdl/CMakeLists.txt +++ b/orocos_kdl/CMakeLists.txt @@ -48,6 +48,8 @@ if(NOT Eigen_FOUND) set(Eigen_INCLUDE_DIR ${EIGEN3_INCLUDE_DIR}) endif() include_directories(${Eigen_INCLUDE_DIR}) +# keep Eigen >= 3.2.0 quiet about Eigen2 deprecated features +ADD_DEFINITIONS(-DEIGEN_NO_EIGEN2_DEPRECATED_WARNING) SET(KDL_CFLAGS "${KDL_CFLAGS} -I${Eigen_INCLUDE_DIR}") # Check the platform STL containers capabilities -- 1.8.2.3