File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 44# install(TARGETS bt4_log_cat
55# DESTINATION ${BTCPP_BIN_DESTINATION} )
66
7- if ( ZMQ_FOUND )
8- add_executable (bt4_recorder bt_recorder.cpp )
9- target_link_libraries (bt4_recorder ${BTCPP_LIBRARY} ${ZMQ_LIBRARIES} )
10- install (TARGETS bt4_recorder
11- DESTINATION ${BTCPP_BIN_DESTINATION} )
12- endif ()
7+ # FIXME! This target doesn't build because behaviortree_cpp/flatbuffers/BT_logger_generated.h
8+ # doesn't get generated.
9+ # It was being silently ignored because it was included only if ZMQ_FOUND was set, but that check
10+ # was wrong for two reasons:
11+ # 1) The actual variable name set on FindZeroMQ.cmake is ZeroMQ_FOUND not ZMQ_FOUND
12+ # 2) This target does not depend on ZeroMQ, but actually on its C++ wrapper cppzmq.
13+ # Ideally we should check for cppzmq_FOUND, but because that would be only set in non-vendored mode
14+ # and furthermore it would not be set on this scope, I chose to use BTCPP_GROOT_INTERFACE as the check
15+ # for now.
16+ #if( BTCPP_GROOT_INTERFACE )
17+ # add_executable(bt4_recorder bt_recorder.cpp )
18+ # target_link_libraries(bt4_recorder ${BTCPP_LIBRARY} cppzmq)
19+ # install(TARGETS bt4_recorder
20+ # DESTINATION ${BTCPP_BIN_DESTINATION} )
21+ #endif()
1322
1423add_executable (bt4_plugin_manifest bt_plugin_manifest.cpp )
1524target_link_libraries (bt4_plugin_manifest ${BTCPP_LIBRARY} )
You can’t perform that action at this time.
0 commit comments