Skip to content

Commit e580d11

Browse files
committed
fix compilation of tests
1 parent 23c6957 commit e580d11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if(ament_cmake_FOUND AND BUILD_TESTING)
2727

2828
ament_add_gtest_executable(${BEHAVIOR_TREE_LIBRARY}_test ${BT_TESTS})
2929
target_link_libraries(${BEHAVIOR_TREE_LIBRARY}_test ${BEHAVIOR_TREE_LIBRARY}
30-
crossdoor_nodes dummy_nodes
30+
bt_sample_nodes
3131
${ament_LIBRARIES})
3232
target_include_directories(${BEHAVIOR_TREE_LIBRARY}_test PRIVATE gtest/include)
3333
include_directories($<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/3rdparty>)
@@ -36,7 +36,7 @@ elseif(catkin_FOUND AND CATKIN_ENABLE_TESTING)
3636

3737
catkin_add_gtest(${BEHAVIOR_TREE_LIBRARY}_test ${BT_TESTS})
3838
target_link_libraries(${BEHAVIOR_TREE_LIBRARY}_test ${BEHAVIOR_TREE_LIBRARY}
39-
crossdoor_nodes dummy_nodes
39+
bt_sample_nodes
4040
${catkin_LIBRARIES})
4141
target_include_directories(${BEHAVIOR_TREE_LIBRARY}_test PRIVATE gtest/include)
4242

@@ -46,7 +46,7 @@ elseif(GTEST_FOUND AND BUILD_UNIT_TESTS)
4646

4747
add_executable(${BEHAVIOR_TREE_LIBRARY}_test ${BT_TESTS})
4848
target_link_libraries(${PROJECT_NAME}_test ${BEHAVIOR_TREE_LIBRARY}
49-
crossdoor_nodes dummy_nodes
49+
bt_sample_nodes
5050
${GTEST_LIBRARIES}
5151
${GTEST_MAIN_LIBRARIES})
5252
target_include_directories(${BEHAVIOR_TREE_LIBRARY}_test PRIVATE gtest/include ${GTEST_INCLUDE_DIRS})

0 commit comments

Comments
 (0)