From 8123220148dcede8932f05cc3637b60f2e882c3e Mon Sep 17 00:00:00 2001 From: Patrick Beeson Date: Thu, 8 Dec 2016 12:32:44 -0600 Subject: [PATCH] Changes for kinetic --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87dd319..1cfefc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 2.8.3) project(robot_self_filter) +if(CMAKE_COMPILER_IS_GNUCXX) + set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") +endif() + + find_package(PkgConfig REQUIRED) find_package(Boost REQUIRED COMPONENTS signals) @@ -40,7 +45,7 @@ find_package(catkin REQUIRED COMPONENTS roscpp tf filters sensor_msgs urdf roscp catkin_package( DEPENDS bullet - CATKIN-DEPENDS roscpp tf filters sensor_msgs urdf resource_retriever visualization_msgs pcl_ros + CATKIN_DEPENDS roscpp tf filters sensor_msgs urdf resource_retriever visualization_msgs pcl_ros INCLUDE_DIRS include LIBRARIES robot_geometric_shapes ${PROJECT_NAME} )