Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Windows compatibility.
[simgrid.git] / testsuite / xbt / CMakeLists.txt
index cd690a1..69a1cda 100644 (file)
@@ -7,6 +7,12 @@ add_executable(graphxml_usage "graphxml_usage.c")
 add_executable(heap_bench "heap_bench.c")
 
 ### Add definitions for compile
-target_link_libraries(log_usage gras m -fprofile-arcs)
-target_link_libraries(graphxml_usage simgrid m -fprofile-arcs)
-target_link_libraries(heap_bench gras m -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(log_usage gras m )
+target_link_libraries(graphxml_usage simgrid m )
+target_link_libraries(heap_bench gras m )
+else(NOT WIN32)
+target_link_libraries(log_usage gras )
+target_link_libraries(graphxml_usage simgrid )
+target_link_libraries(heap_bench gras )
+endif(NOT WIN32)
\ No newline at end of file