Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[mmalloc] Use mremap to expand heaps (heap collision prevention)"
[simgrid.git] / teshsuite / xbt / CMakeLists.txt
index a181c6d..a7e9235 100644 (file)
@@ -4,7 +4,7 @@ set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(log_large_test log_large_test.c)
 add_executable(parallel_log_crashtest parallel_log_crashtest.c)
-if(HAVE_MMAP)
+if(HAVE_MMALLOC)
   add_executable(mmalloc_test mmalloc_test.c)
 endif()
 add_executable(parmap_test parmap_test.c)
@@ -13,7 +13,7 @@ add_executable(parmap_test parmap_test.c)
 ### Add definitions for compile
 target_link_libraries(log_large_test simgrid)
 target_link_libraries(parallel_log_crashtest simgrid)
-if(HAVE_MMAP)
+if(HAVE_MMALLOC)
   target_link_libraries(mmalloc_test simgrid)
 endif()
 target_link_libraries(parmap_test simgrid)