Skip to content

Commit

Permalink
Merge pull request #1 from ros2/use_ament_lint_auto
Browse files Browse the repository at this point in the history
use ament_lint_auto
  • Loading branch information
dirk-thomas committed Mar 7, 2015
2 parents 7870724 + 16a65a7 commit 7b9ce1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rclc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ find_package(rcl REQUIRED)

ament_export_include_directories(include)

if(AMENT_ENABLE_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_package()

install(
Expand Down
2 changes: 2 additions & 0 deletions rclc/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@
<build_export_depend>rcl</build_export_depend>
<build_export_depend>rmw</build_export_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
</package>

0 comments on commit 7b9ce1f

Please sign in to comment.