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} )