Satish, thank you very much for your prompt answers. Your last one, however, does not solve my problem.
PETSC_ARCH='' is not the solution. Line 115 of FindPETSc.cmake, if (EXISTS "${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables") # > 3.5 would then search for ${PETSC_DIR}//lib/petsc/conf/petscvariables which obviously fails.
smime.p7s
Description: S/MIME Cryptographic Signature