Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b7da24ad authored by Nathan Précigout's avatar Nathan Précigout
Browse files

We check that the simgrid_init function exists rather than the MSG_main...

We check that the simgrid_init function exists rather than the MSG_main function which is no longer used by default in simgrid
parent fdd64e56
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ if(SIMGRID_FOUND AND SIMGRID_LIBRARIES)
# test link
unset(SIMGRID_WORKS CACHE)
include(CheckFunctionExists)
check_function_exists(MSG_main SIMGRID_WORKS)
check_function_exists(simgrid_init SIMGRID_WORKS)
mark_as_advanced(SIMGRID_WORKS)
if(SIMGRID_WORKS)
......@@ -148,4 +148,4 @@ find_package_handle_standard_args(SIMGRID DEFAULT_MSG
# Add imported targe
if (SIMGRID_FOUND)
morse_create_imported_target(SIMGRID)
endif()
\ No newline at end of file
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment