From 21c2c538d25812ff5d0801860171d828fb66cfea Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@inria.fr>
Date: Wed, 16 Sep 2015 12:27:51 +0000
Subject: [PATCH] function detection is fixed

---
 CMakeLists.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 168f7c1ef..e0eb37406 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -624,12 +624,6 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
                     message("-- ${Red}Looking for starpu with starpu_mpi_data_register"
                     " - starpu_mpi_data_register() test fails in StarPU${ColourReset}")
                     message("-- ${Red}Check in CMakeFiles/CMakeError.log to figure out why it fails${ColourReset}")
-                    if (CHAMELEON_SIMULATION)
-                        # function detection fails due to conflicting main
-                        # definitions. We know that the StarPU-simgrid-MPI version
-                        # has it anyway.
-                        add_definitions(-DHAVE_STARPU_MPI_DATA_REGISTER)
-                    endif()
                 endif()
             endif()
             if(HWLOC_FOUND AND HWLOC_LIBRARY_DIRS)
-- 
GitLab