Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 61643cec authored by Tony Delarue's avatar Tony Delarue Committed by PRUVOST Florent
Browse files

Detect scotch version in the FindScotch.cmake

parent 528ede42
No related branches found
No related tags found
1 merge request!35Detect scotch version in the FindScotch.cmake
...@@ -286,6 +286,11 @@ if(SCOTCH_LIBRARIES) ...@@ -286,6 +286,11 @@ if(SCOTCH_LIBRARIES)
check_function_exists(SCOTCH_graphInit SCOTCH_WORKS) check_function_exists(SCOTCH_graphInit SCOTCH_WORKS)
mark_as_advanced(SCOTCH_WORKS) mark_as_advanced(SCOTCH_WORKS)
# test scotch version
unset(HAVE_SCOTCH_CONTEXT_INIT)
check_function_exists(SCOTCH_contextInit HAVE_SCOTCH_CONTEXT_INIT)
mark_as_advanced(HAVE_SCOTCH_CONTEXT_INIT)
if(SCOTCH_WORKS) if(SCOTCH_WORKS)
# save link with dependencies # save link with dependencies
set(SCOTCH_LIBRARIES "${REQUIRED_LIBS}") set(SCOTCH_LIBRARIES "${REQUIRED_LIBS}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment