Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update CMakeLists for windows
[simgrid.git] / examples / gras / timer / CMakeLists.txt
index ad883e9..2635844 100644 (file)
@@ -19,5 +19,11 @@ add_custom_command(
 )
 
 ### Add definitions for compile
+if(NOT WIN32)
 target_link_libraries(timer_simulator simgrid pthread m )
 target_link_libraries(timer_client gras pthread m )
+else(NOT WIN32)
+target_link_libraries(timer_simulator simgrid)
+target_link_libraries(timer_client gras)
+endif(NOT WIN32)
+