-target_link_libraries(gras_stub_generator simgrid pthread m -fprofile-arcs)
\ No newline at end of file
+if(NOT WIN32)
+ target_link_libraries(gras_stub_generator simgrid pthread m)
+else(NOT WIN32)
+ target_link_libraries(gras_stub_generator simgrid)
+endif(NOT WIN32)
\ No newline at end of file