Commit 4500fdc3 authored by THIBAULT Samuel's avatar THIBAULT Samuel

Avoid duplicate detection if the test ends up working someday

parent 9212cca0
......@@ -625,12 +625,12 @@ 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}")
endif()
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)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment