Goddard-Fortran-Ecosystem / pFUnit

Parallel Fortran Unit Testing Framework
Other
171 stars 45 forks source link

Bugfix for FetchContent usage #416

Closed td-mpcdf closed 1 year ago

td-mpcdf commented 1 year ago

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.