File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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)
9191else ()
9292 message (WARNING "ZeroMQ NOT found. Skipping the build of [PublisherZMQ] and [bt_recorder]." )
9393endif ()
@@ -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
121121elseif (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
131131endif ()
132132
You can’t perform that action at this time.
0 commit comments