Browse Source

Link pnAddrInfo against ws2_32 on Windows.

Darryl Pogue 13 years ago
parent
commit
5d9f59fb1a
  1. 4
      Sources/Plasma/NucleusLib/pnAddrInfo/CMakeLists.txt

4
Sources/Plasma/NucleusLib/pnAddrInfo/CMakeLists.txt

@ -9,6 +9,10 @@ set(pnAddrInfo_HEADERS
)
add_library(pnAddrInfo STATIC ${pnAddrInfo_SOURCES} ${pnAddrInfo_HEADERS})
target_link_libraries(pnAddrInfo CoreLib)
if(WIN32)
target_link_libraries(pnAddrInfo ws2_32)
endif(WIN32)
source_group("Source Files" FILES ${pnAddrInfo_SOURCES})
source_group("Header Files" FILES ${pnAddrInfo_HEADERS})
Loading…
Cancel
Save