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 )
87
87
add_definitions ( -DZMQ_FOUND )
88
88
set (BT_Source ${BT_Source} src/loggers/bt_zmq_publisher.cpp )
89
89
90
- set (BEHAVIOR_TREE_LIBRARIES behavior_tree_core zmq )
90
+ set (BEHAVIOR_TREE_LIBRARIES ${BEHAVIOR_TREE_LIBRARIES} zmq )
91
91
else ()
92
92
message (WARNING "ZeroMQ NOT found. Skipping the build of [PublisherZMQ] and [bt_recorder]." )
93
93
endif ()
@@ -115,18 +115,18 @@ if(catkin_FOUND AND CATKIN_ENABLE_TESTING)
115
115
116
116
catkin_add_gtest (behavior_tree_core_test ${BT_Tests} )
117
117
target_link_libraries (behavior_tree_core_test
118
- behavior_tree_core
118
+ ${BEHAVIOR_TREE_LIBRARIES} crossdoor_nodes
119
119
${catkin_LIBRARIES} )
120
120
121
121
elseif (GTEST_FOUND )
122
122
include_directories (gtest/include )
123
123
124
124
add_executable (behavior_tree_core_test ${BT_Tests} )
125
125
target_link_libraries (behavior_tree_core_test
126
- behavior_tree_core
126
+ ${BEHAVIOR_TREE_LIBRARIES} crossdoor_nodes
127
127
${GTEST_LIBRARIES}
128
128
${GTEST_MAIN_LIBRARIES}
129
- crossdoor_nodes )
129
+ )
130
130
131
131
endif ()
132
132
You can’t perform that action at this time.
0 commit comments