Skip to content

Commit abd050c

Browse files
mergify[bot]clalancetteMiguelCompany
authored
Change colcon.pkg dependencies to be test-dependencies (#293) (#295)
* Change colcon.pkg dependencies to be test-dependencies (#293) The dependencies on ament_cmake, ament_cmake_gtest, and googletest-distribution are only needed when building for tests, so we should only inject them as test dependencies. Signed-off-by: Chris Lalancette <[email protected]> (cherry picked from commit 88eb2ab) # Conflicts: # colcon.pkg * Fix conflicts Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Chris Lalancette <[email protected]> Co-authored-by: Miguel Company <[email protected]>
1 parent e94597a commit abd050c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

colcon.pkg

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
{
2-
"name": "fastcdr",
3-
"type": "cmake",
4-
"dependencies" : ["googletest-distribution"]
5-
}
1+
name: fastcdr
2+
type: cmake
3+
test-dependencies:
4+
# Needed for test compilation in ROS 2 CI
5+
- ament_cmake_gtest
6+
- ament_cmake
7+
# Needed for test compilation in eProsima CI
8+
- googletest-distribution

0 commit comments

Comments
 (0)