[petsc-users] How to use cmake to get external libraries?

Ce Qin qince168 at gmail.com
Thu May 29 01:08:01 CDT 2014


Dear all,

I'n now using cmake to build my project. I had tried Jed's FindPETSc
module, it works pretty fine. However, the variable PETSC_LIBRARIES it
generates only have libpetsc.so. And I want to use the external libraries
directly, so I need to get the whole libraries like PETSC_LIB in
petscvariables. Can anyone provide some hints?

Thanks in advance.

Best regards,
Ce Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140529/3c0f8fad/attachment.html>


More information about the petsc-users mailing list