Satish Balay <[email protected]> writes:

> As mentioned - PETScConfig.cmake is primarily for building PETSc - and
> not equivalent to .pc file

  def dumpCMakeConfig(self):
    '''
    Writes configuration-specific values to 
${PETSC_ARCH}/lib/petsc/conf/PETScConfig.cmake.
    This file is private to PETSc and should not be included by third parties
    (a suitable file can be produced later by CMake, but this is not it).
    '''

Arne, is this the file you are talking about?  It is part of the legacy
cmake build and is used to hold the various ARCH-specific variables when
building PETSc.  (Note that this build does not use CMake for configure
since CMake is disgusting for that purpose and also because we needed to
ensure that it makes all the same decisions as our configure.)  It's not
for users and should not be installed.

If you want a pkgconfig file, just use PETSc.pc.  Or use FindPETSc.cmake.

Attachment: signature.asc
Description: PGP signature

Reply via email to