Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build with MC
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 18 Mar 2016 07:27:48 +0000 (08:27 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 18 Mar 2016 07:27:48 +0000 (08:27 +0100)
teshsuite/xbt/CMakeLists.txt

index cf159bd..99642cd 100644 (file)
@@ -16,7 +16,7 @@ if(NOT enable_debug)
 endif()
 
 if(HAVE_MMALLOC)
 endif()
 
 if(HAVE_MMALLOC)
-  add_executable       (mmalloc_test mmalloc_test.c)
+  add_executable       (mmalloc_test ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc/mmalloc_test.c)
   target_link_libraries(mmalloc_test simgrid)
   if(${ARCH_32_BITS})
     ADD_TESH(tesh-xbt-mmalloc-32 --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/mmalloc --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/mmalloc mmalloc_32.tesh)
   target_link_libraries(mmalloc_test simgrid)
   if(${ARCH_32_BITS})
     ADD_TESH(tesh-xbt-mmalloc-32 --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/mmalloc --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/mmalloc mmalloc_32.tesh)