Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c043fd4

Browse files
author
Davide Faconti
committed
fix unit tests in ROS
1 parent 0080f09 commit c043fd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if( ZMQ_FOUND )
8787
add_definitions( -DZMQ_FOUND )
8888
set(BT_Source ${BT_Source} src/loggers/bt_zmq_publisher.cpp )
8989

90-
set(BEHAVIOR_TREE_LIBRARIES behavior_tree_core zmq)
90+
set(BEHAVIOR_TREE_LIBRARIES ${BEHAVIOR_TREE_LIBRARIES} zmq)
9191
else()
9292
message(WARNING "ZeroMQ NOT found. Skipping the build of [PublisherZMQ] and [bt_recorder].")
9393
endif()
@@ -115,18 +115,18 @@ if(catkin_FOUND AND CATKIN_ENABLE_TESTING)
115115

116116
catkin_add_gtest(behavior_tree_core_test ${BT_Tests} )
117117
target_link_libraries(behavior_tree_core_test
118-
behavior_tree_core
118+
${BEHAVIOR_TREE_LIBRARIES} crossdoor_nodes
119119
${catkin_LIBRARIES} )
120120

121121
elseif(GTEST_FOUND)
122122
include_directories(gtest/include)
123123

124124
add_executable(behavior_tree_core_test ${BT_Tests} )
125125
target_link_libraries(behavior_tree_core_test
126-
behavior_tree_core
126+
${BEHAVIOR_TREE_LIBRARIES} crossdoor_nodes
127127
${GTEST_LIBRARIES}
128128
${GTEST_MAIN_LIBRARIES}
129-
crossdoor_nodes)
129+
)
130130

131131
endif()
132132

0 commit comments

Comments
 (0)