Commit 2c4e5364 authored by Iban Cereijo's avatar Iban Cereijo

Problem: missing Ws2_32.lib when cross compiling

Solution: use lower case ws2_32.lib to enable cross compilation
from platforms with case-sensitive filesystems.

When cross compiling the tests with Mingw-w64, CMake cannot
locate Ws2_32.lib
parent 10a9ba09
......@@ -134,7 +134,7 @@ if(WIN32)
add_definitions(-DZMQ_CUSTOM_PLATFORM_HPP)
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
# Same name on 64bit systems
link_libraries(Ws2_32.lib)
link_libraries(ws2_32.lib)
endif()
# add library and include dirs for all targets
......
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