)
### Add definitions for compile
-target_link_libraries(small_sleep_simulator simgrid m pthread -fprofile-arcs)
-target_link_libraries(small_sleep_function gras m pthread -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(small_sleep_simulator simgrid m pthread)
+target_link_libraries(small_sleep_function gras m pthread)
+else(NOT WIN32)
+target_link_libraries(small_sleep_simulator simgrid)
+target_link_libraries(small_sleep_function gras)
+endif(NOT WIN32)
\ No newline at end of file