We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7af472 commit cc4b344Copy full SHA for cc4b344
cpp/src/arrow/flight/CMakeLists.txt
@@ -235,7 +235,9 @@ endforeach()
235
if(CMAKE_UNITY_BUILD AND WIN32)
236
foreach(LIB_TARGET ${ARROW_FLIGHT_LIBRARIES})
237
target_compile_options(${LIB_TARGET}
238
- PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/FI\"winsock2.h\">"
+ PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/DNOMINMAX>"
239
+ "$<$<CXX_COMPILER_ID:MSVC>:/DWIN32_LEAN_AND_MEAN>"
240
+ "$<$<CXX_COMPILER_ID:MSVC>:/FI\"winsock2.h\">"
241
"$<$<CXX_COMPILER_ID:MSVC>:/FI\"ws2tcpip.h\">")
242
endforeach()
243
endif()
0 commit comments