Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Link against simgrid instead of gras.
[simgrid.git] / teshsuite / xbt / CMakeLists.txt
index f51a1773682d2f81a9143e8058dcff2eb0bc807f..8a8b7b78deb80dfbc744ff03bbc0315c839e1b2a 100644 (file)
@@ -2,18 +2,19 @@ cmake_minimum_required(VERSION 2.6)
 
 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 if(NOT WIN32)
-add_executable(log_large_test log_large_test.c)
-add_executable(parallel_log_crashtest parallel_log_crashtest.c)
-if(HAVE_MMAP)
-  add_executable(mmalloc_test mmalloc_test.c)
+  add_executable(log_large_test log_large_test.c)
+  add_executable(parallel_log_crashtest parallel_log_crashtest.c)
+  if(HAVE_MMAP)
+    add_executable(mmalloc_test mmalloc_test.c)
+  endif()
 endif()
 
 ### Add definitions for compile
 if(NOT WIN32)
-  target_link_libraries(log_large_test gras m pthread )
-  target_link_libraries(parallel_log_crashtest gras m pthread )
+  target_link_libraries(log_large_test simgrid m pthread )
+  target_link_libraries(parallel_log_crashtest simgrid m pthread )
   if(HAVE_MMAP)
-    target_link_libraries(mmalloc_test gras m pthread )
+    target_link_libraries(mmalloc_test simgrid m pthread )
   endif()
 endif()