Skip to content

Commit

Permalink
quietly use backward_cpp/ros if available
Browse files Browse the repository at this point in the history
This is simply convenient and you always need it when you did not explicitly add it.

Follow @tylerjw's initiative to add it to MoveIt2:
moveit/moveit2#794
  • Loading branch information
v4hn committed Dec 10, 2021
1 parent 9bfb2c7 commit 902b518
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moveit_core/cmake/moveit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ macro(moveit_build_options)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

find_package(backward_ros QUIET)

if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
message("${PROJECT_NAME}: You did not request a specific build type: Choosing 'Release' for maximum performance")
set(CMAKE_BUILD_TYPE Release)
Expand Down

0 comments on commit 902b518

Please sign in to comment.