diff --git a/dep/acelite/ace/CMakeLists.txt b/dep/acelite/ace/CMakeLists.txt index eb0f6dd..1f9ffa6 100644 --- a/dep/acelite/ace/CMakeLists.txt +++ b/dep/acelite/ace/CMakeLists.txt @@ -341,6 +341,10 @@ add_library(ace SHARED ${ace_PCH_SRC} ) +if (MINGW) # GCC ignores "#prama comment" + target_link_libraries(ace ws2_32 iphlpapi netapi32 mswsock) +endif() + # Generate precompiled header if( USE_COREPCH ) add_cxx_pch(ace ${ace_PCH_HDR} ${ace_PCH_SRC})