diff --git a/cpp-client/deephaven/dhcore/CMakeLists.txt b/cpp-client/deephaven/dhcore/CMakeLists.txt index 6186051d5f0..219316d3eb0 100644 --- a/cpp-client/deephaven/dhcore/CMakeLists.txt +++ b/cpp-client/deephaven/dhcore/CMakeLists.txt @@ -134,6 +134,7 @@ foreach (whichlib dhcore dhcore_static) target_compile_options(${whichlib} PRIVATE /W3 /bigobj) target_compile_definitions(${whichlib} PRIVATE _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING) + target_link_libraries(${whichlib} PRIVATE ws2_32) endif() target_include_directories(${whichlib} PRIVATE include/private)