Ce Qin <[email protected]> writes:

> 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?

Best to have Find${OtherLibrary}.cmake for those libraries.  It tangles
dependencies and will be harder to maintain in the long run if you
modify FindPETSc.cmake to provide access to optional third-party
libraries.

Attachment: pgpQRwQ5cvQbc.pgp
Description: PGP signature

Reply via email to