Using pFUnit via FetchContent in an downstream project leads to problems due to not defined PFUNIT_MPI_FOUND and similar variables which are used in the add_pfunit_test macro at build time. So if not configured as main project, two additional variables have to be set.
Using pFUnit via FetchContent in an downstream project leads to problems due to not defined PFUNIT_MPI_FOUND and similar variables which are used in the add_pfunit_test macro at build time. So if not configured as main project, two additional variables have to be set.