zmqpp icon indicating copy to clipboard operation
zmqpp copied to clipboard

Windows static LIB build

Open harsszegi opened this issue 8 years ago • 2 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,

harsszegi avatar Apr 11 '16 06:04 harsszegi

You should fork the project and make the change then issue a pull request. It would get implemented faster.

whatisgravity avatar Apr 19 '16 18:04 whatisgravity

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.

tatraian avatar Aug 10 '16 08:08 tatraian