File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ find_package (ZeroMQ REQUIRED)
2+
13add_library (cppzmq INTERFACE )
4+ if (TARGET libzmq-static )
5+ target_link_libraries (cppzmq INTERFACE libzmq-static )
6+ elseif (TARGET libzmq)
7+ target_link_libraries (cppzmq INTERFACE libzmq)
8+ else ()
9+ message (FATAL_ERROR "Failed to find libzmq" )
10+ endif ()
211
312# This library doesn't use modern targets unfortunately.
413#add_library(cppzmq::cppzmq ALIAS cppzmq)
Original file line number Diff line number Diff line change 11
2- include_directories (${PROJECT_SOURCE_DIR} /3rdparty)
3-
42# add_executable(bt4_log_cat bt_log_cat.cpp )
53# target_link_libraries(bt4_log_cat ${BTCPP_LIBRARY} )
64# install(TARGETS bt4_log_cat
Original file line number Diff line number Diff line change 33#include < fstream>
44#include < signal.h>
55#include < fstream>
6- #include " cppzmq/ zmq.hpp"
6+ #include " zmq.hpp"
77#include " behaviortree_cpp/flatbuffers/BT_logger_generated.h"
88
99// http://zguide.zeromq.org/cpp:interrupt
You can’t perform that action at this time.
0 commit comments