Commit 7da82713 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

ptscotch: give all dependencies even when scotch is shared library because...

ptscotch: give all dependencies even when scotch is shared library because libscotch.so is not explicitly linked to them
parent 3f79506d
......@@ -213,10 +213,11 @@ if(PTSCOTCH_LIBRARIES)
set(PTSCOTCH_LIBRARY_DIRS "${REQUIRED_LIBDIRS}")
set(PTSCOTCH_CFLAGS_OTHER "${REQUIRED_FLAGS}")
set(PTSCOTCH_LDFLAGS_OTHER "${REQUIRED_LDFLAGS}")
if (PTSCOTCH_STATIC)
# scotch is not giving its dependencies even in shared library mode ...
#if (PTSCOTCH_STATIC)
# save link with dependencies
set(PTSCOTCH_LIBRARIES "${REQUIRED_LIBS}")
endif()
#endif()
else()
if(NOT PTSCOTCH_FIND_QUIETLY)
message(STATUS "Looking for PTSCOTCH : test of SCOTCH_dgraphInit with PTSCOTCH library fails")
......
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