Mentions légales du service

Skip to content
Snippets Groups Projects

Detect scotch version in the FindScotch.cmake

Merged Tony Delarue requested to merge tdelarue/morse_cmake:scotch_6_1 into master
All threads resolved!
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -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}")
Loading