Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update CMakeLists for windows
[simgrid.git] / examples / gras / synchro / CMakeLists.txt
index ffc032c..55f848a 100644 (file)
@@ -19,5 +19,11 @@ add_custom_command(
                                        )
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(synchro_simulator simgrid pthread m )
 target_link_libraries(synchro_philosopher gras pthread m )
+else(NOT WIN32)
+target_link_libraries(synchro_simulator simgrid)
+target_link_libraries(synchro_philosopher gras)
+endif(NOT WIN32)
+