There is an software I want to install, but first it need to check all their dependencies in cmake, so my problem comes installing the dependencies “petsc” (which I installed using the AUR) because it is installed in /opt instead of /usr
FIND_LIBRARY(
FIND_LIBRARY(
PETSC_LIB_PETSCDM
NAMES
petscdm
PATHS
/usr/lib
/usr/local/lib
${PETSC_DIR}/${PETSC_ARCH}/lib
)
So my problem can be solved adding a line with the right path, but:
I don’t know how an Archlinux library looks like:
Pamac is quite nice to offer a view with all files installed in petsc, so I collected them an so they are:
/opt/petsc/linux-c-opt/include/petsc/finclude/petscdm.h
/opt/petsc/linux-c-opt/include/petscdm.h
/opt/petsc/linux-c-opt/include/petscdm.mod
Which one of those is the library cmake needs?
EDIT:
There is a folder called lib, but I can’t see the files I need from: