Windows static LIB build
harsszegi opened this issue · 2 comments
harsszegi commented
Hello,
missing proper zmq.hpp setup when building the static library, missing ZMQ_STATIC define.
Please modify CMakeLists.txt like this:
if (ZMQPP_BUILD_STATIC)
add_library( zmqpp-static STATIC ${LIBZMQPP_SOURCES})
add_definitions(-DZMQ_STATIC)
target_link_libraries(zmqpp-static ZeroMQ::libzmq-static)
list( APPEND INSTALL_TARGET_LIST zmqpp-static)
set( LIB_TO_LINK_TO_EXAMPLES zmqpp-static )
endif() # ZMQPP_BUILD_STATIC
Thanks,
whatisgravity commented
You should fork the project and make the change then issue a pull request. It would get implemented faster.