Commit 51898984 authored by Gunther Laure's avatar Gunther Laure

export ZMQ_STATIC compile flag to depending projects (MSVC)

Signed-off-by: 's avatarGunther Laure <glaure@dewetron.com>
parent 9bb86361
......@@ -772,6 +772,11 @@ if (MSVC)
DEBUG_POSTFIX "${MSVC_TOOLSET}-mt-sgd-${ZMQ_VERSION_MAJOR}_${ZMQ_VERSION_MINOR}_${ZMQ_VERSION_PATCH}"
COMPILE_FLAGS "/DZMQ_STATIC"
OUTPUT_NAME "libzmq")
target_compile_definitions(libzmq-static
PUBLIC ZMQ_STATIC
)
endif()
else ()
# avoid building everything twice for shared + static
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment