mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08:00
export ZMQ_STATIC compile flag to depending projects (MSVC)
Signed-off-by: Gunther Laure <glaure@dewetron.com>
This commit is contained in:
parent
9bb863618c
commit
5189898479
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user