asio: Fix MSVC DLL exports
This commit is contained in:
parent
4181b070e9
commit
11d7e549fd
|
@ -297,6 +297,9 @@ if(ENABLE_ASIO_LIB)
|
|||
)
|
||||
if(WIN32)
|
||||
target_compile_definitions(nghttp2_asio PRIVATE NOMINMAX)
|
||||
if(NOT ENABLE_STATIC_LIB)
|
||||
set_target_properties(nghttp2_asio PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
||||
endif()
|
||||
endif()
|
||||
target_link_libraries(nghttp2_asio
|
||||
${NGHTTP2_TARGET}
|
||||
|
|
Loading…
Reference in New Issue