Commit ec56eaae authored by Constantin Rack's avatar Constantin Rack Committed by GitHub

Merge pull request #2583 from timou/wincmake

Suppress linker warning 4221 for MSVC
parents 92339a4d 293a1825
......@@ -741,6 +741,9 @@ if (BUILD_STATIC)
endif()
if (MSVC)
# Suppress linker warnings caused by #ifdef omission
# of file content.
set( CMAKE_STATIC_LINKER_FLAGS /ignore:4221 )
if (BUILD_SHARED)
add_library (libzmq SHARED ${sources} ${public_headers} ${html-docs} ${readme-docs} ${CMAKE_CURRENT_BINARY_DIR}/NSIS.template.in)
target_link_libraries (libzmq ${OPTIONAL_LIBRARIES})
......
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