Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add winsock2 to link libraries (ws2_32)
[simgrid.git] / doc / HelloWorld / CMakeLists.txt
index d93fa60..23960e9 100644 (file)
@@ -42,5 +42,5 @@ foreach(target "${TARGET_NAME}")
     message(STATUS "source_file: ${target}.c")
     message(STATUS "target name: ${target}.exe")
     # Any targets need to be linked with simgrid and pcre
     message(STATUS "source_file: ${target}.c")
     message(STATUS "target name: ${target}.exe")
     # Any targets need to be linked with simgrid and pcre
-    target_link_libraries(${target} simgrid pcre pthread) 
+    target_link_libraries(${target} simgrid pcre pthread ws2_32
 endforeach(target ${SOURCE_FILE})
 endforeach(target ${SOURCE_FILE})