Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes to indigo-devel CMake allow this to be used in kinetic and indigo #14

Merged
merged 1 commit into from
Feb 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please explain why this is needed on kinetic?

endif()


find_package(PkgConfig REQUIRED)

find_package(Boost REQUIRED COMPONENTS signals)
Expand Down Expand Up @@ -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}
)
Expand Down