Skip to content

Commit 0026a71

Browse files
author
Erwin Lejeune
committed
cmr clients is only used in tests
1 parent 939b4b4 commit 0026a71

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ find_package(geometry_msgs REQUIRED)
2626
find_package(tf2_ros REQUIRED)
2727
find_package(tf2 REQUIRED)
2828
find_package(tf2_geometry_msgs REQUIRED)
29-
find_package(cmr_clients_utils REQUIRED)
3029

3130

3231
include_directories(include
@@ -39,7 +38,6 @@ include_directories(include
3938
${tf2_ros_INCLUDE_DIRS}
4039
${tf2_INCLUDE_DIRS}
4140
${tf2_geometry_msgs_INCLUDE_DIRS}
42-
${cmr_clients_utils_INCLUDE_DIRS}
4341
)
4442

4543
set(LIBRARY_NAME "${PROJECT_NAME}_lib")
@@ -61,7 +59,6 @@ target_link_libraries(${LIBRARY_NAME} INTERFACE
6159
${tf2_ros_LIBRARIES}
6260
${tf2_geometry_msgs_LIBRARIES}
6361
${tf2_LIBRARIES}
64-
${cmr_clients_utils_LIBRARIES}
6562
)
6663

6764
install(TARGETS ${LIBRARY_NAME}
@@ -86,7 +83,6 @@ set(dependencies
8683
"tf2_ros"
8784
"tf2"
8885
"tf2_geometry_msgs"
89-
"cmr_clients_utils"
9086
)
9187

9288
if(BUILD_TESTING)

test/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
set(dependencies
2+
${dependencies}
3+
"cmr_clients_utils"
4+
)
5+
6+
find_package(cmr_clients_utils REQUIRED)
7+
18
set(TEST_NAME pub_sub_communication_test)
29
ament_add_gtest(${TEST_NAME} ${TEST_NAME}.cpp)
310
target_link_libraries(${TEST_NAME} ${LIBRARY_NAME})

0 commit comments

Comments
 (0)