Windows static LIB build
harsszegi opened this issue · comments
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,
You should fork the project and make the change then issue a pull request. It would get implemented faster.
I think this has been fixed during #151. So you can close this as well.
Can I ask a new release from the latest version. I would like to put it into hunter. Thanks.