Unverified Commit e2dbc99c authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2861 from glaure/master

export ZMQ_STATIC compile flag to depending projects (MSVC)
parents 9bb86361 51898984
......@@ -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