Skip to content

Commit

Permalink
use_ament_cmake_uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <yadunund@openrobotics.org>
  • Loading branch information
Yadunund committed Nov 12, 2021
1 parent 1960e11 commit 961e1f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions rmf_traffic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ add_library(rmf_traffic SHARED
)

find_package(ament_cmake_catch2 QUIET)
find_package(rmf_cmake_uncrustify QUIET)
if(BUILD_TESTING AND ament_cmake_catch2_FOUND AND rmf_cmake_uncrustify_FOUND)
find_package(ament_cmake_uncrustify QUIET)
if(BUILD_TESTING AND ament_cmake_catch2_FOUND AND ament_cmake_uncrustify_FOUND)
file(GLOB_RECURSE unit_test_srcs "test/*.cpp")

ament_add_catch2(
Expand All @@ -72,7 +72,7 @@ if(BUILD_TESTING AND ament_cmake_catch2_FOUND AND rmf_cmake_uncrustify_FOUND)
NAMES "rmf_code_style.cfg"
PATHS "${rmf_utils_DIR}/../../../share/rmf_utils/")

rmf_uncrustify(
ament_uncrustify(
ARGN include src test
CONFIG_FILE ${uncrustify_config_file}
MAX_LINE_LENGTH 80
Expand Down
2 changes: 1 addition & 1 deletion rmf_traffic/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!--<depend>fcl</depend>-->

<test_depend>ament_cmake_catch2</test_depend>
<test_depend>rmf_cmake_uncrustify</test_depend>
<test_depend>ament_cmake_uncrustify</test_depend>


<export>
Expand Down

0 comments on commit 961e1f0

Please sign in to comment.