Missing library flags in FindPARMETIS.cmake
Hello,
I use the FindPARMETIS.cmake module to find the parmetis installation in my software and I have issue with missing libraries (it happens only on ci slave (linux and mac OS) but not on my laptop) :
- I have installed parmetis-4.0.3. In the documentation it is said that we can build metis inside parmetis but in my case this feature is not enabled.
- the FindPARMETIS file find the parmetis library and include directory but PARMETIS_WORKS variable is false (you can find enclosed the CMakeError.log file)CMakeError.log.
- if I add the "-lmetis -lmpi" flags to the REQUIRED_LIBS variable, everything works fine.
Thank you by advance for your help.
Regards,
Algiane