[petsc-users] Finding PETSc from CMake

Asher Mancinelli asher.mancinelli at pnnl.gov
Thu Apr 21 18:04:15 CDT 2022


Hello,

What is the preferred way to locate a PETSc installation from CMake? We usually use a FindPackageName.cmake file generated by our dependency, however it was recommended to us by a PETSc developer to use CMake's pkgconf interop to locate PETSc. This means we rely on pkgconf only to locate PETSc, which seems like overkill.

Any help is appreciated, thanks,
AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220421/38a3f8f7/attachment.html>


More information about the petsc-users mailing list