This PR applies a temporary but necessary workaround to address a
CMake regression (3.22.0 or higher) that causes find_package(MPI)
to fail or hang when detected in subprojects on Cray systems.
This workaround ensures that find_package(MPI) is properly detected
in subprojects until the regression is resolved by CMake developers.
This PR applies a temporary but necessary workaround to address a CMake regression (3.22.0 or higher) that causes find_package(MPI) to fail or hang when detected in subprojects on Cray systems.
This workaround ensures that find_package(MPI) is properly detected in subprojects until the regression is resolved by CMake developers.
Same as PR #623