PETSc from Cmake
does anyone know how to create a Cmake file to use PETSc in Fortran?
Write a make file for useing PETSc is quite simple, but how to call the PETSc's libraries in a Cmake?
See here https://github.com/jedbrown/cmake-modules for useful cmake files for using petcs with cmake.
Here is my simple Cmakelist.txt for calling them and run one of petsc's examples
|All times are GMT -4. The time now is 01:38.|