Skip to content

Commit

Permalink
use default C++ instead of C++11 which avoids '‘std::shared_mutex’ is…
Browse files Browse the repository at this point in the history
… only available from C++17 onwards' error on 22.04
  • Loading branch information
lucasw committed Sep 24, 2022
1 parent 6c09104 commit 2bbd281
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stag_detect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ find_package(catkin REQUIRED COMPONENTS
std_msgs
fiducial_msgs
dynamic_reconfigure
vision_msgs
)

find_package(OpenCV REQUIRED)
Expand All @@ -36,8 +37,6 @@ catkin_package(
## Build ##
###########

add_definitions(-std=c++11)

include_directories(
include
${catkin_INCLUDE_DIRS}
Expand Down

0 comments on commit 2bbd281

Please sign in to comment.