METIS and CSPARSE are used for sparse solvers. However, they can be better integrated.
METIS
it could be useful to isolate METIS. Currently, it is an extlib in SofaSparseSolver. So, it is necessary to find_package SofaSparseSolver in order to link with METIS.
The developer has the choice to use its own METIS library if it is in his PATH, or to use the one in extlib. For consistency between users, only one option could be considered.
it could be useful to isolate CSPARSE. Currently, it is an extlib in SofaSparseSolver. So, it is necessary to find_package SofaSparseSolver in order to link with CSPARSE.
CPARSE has been modified for our purpose. What are the changes? It prevents to update the lib. Would it be possible to keep the original CSPARSE library and isolate our modifications?
METIS and CSPARSE are used for sparse solvers. However, they can be better integrated.
METIS
find_package
SofaSparseSolver in order to link with METIS.CSPARSE
find_package
SofaSparseSolver in order to link with CSPARSE.