From d93cac288110b033df9aef39bb51ff66c1376e9a Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Fri, 8 Feb 2019 17:23:30 +0000 Subject: [PATCH] activate C++11 and include atomic --- robotiq_3f_rviz/CMakeLists.txt | 2 +- robotiq_3f_rviz/src/robotiq_3f_rviz.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/robotiq_3f_rviz/CMakeLists.txt b/robotiq_3f_rviz/CMakeLists.txt index 79b3b21c..df669267 100644 --- a/robotiq_3f_rviz/CMakeLists.txt +++ b/robotiq_3f_rviz/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3) project(robotiq_3f_rviz) ## Compile as C++11, supported in ROS Kinetic and newer -# add_compile_options(-std=c++11) +add_compile_options(-std=c++11) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) diff --git a/robotiq_3f_rviz/src/robotiq_3f_rviz.cpp b/robotiq_3f_rviz/src/robotiq_3f_rviz.cpp index 64270239..6defe8cc 100644 --- a/robotiq_3f_rviz/src/robotiq_3f_rviz.cpp +++ b/robotiq_3f_rviz/src/robotiq_3f_rviz.cpp @@ -3,6 +3,7 @@ #include #include #include +#include namespace robotiq_3f_rviz {