cburstedde / libsc

The "sc" auxiliary library
www.p4est.org/
GNU Lesser General Public License v2.1
36 stars 34 forks source link

Fix recheck MPI features in the CMake build system #200

Closed maelk3 closed 3 months ago

maelk3 commented 3 months ago

Fix recheck MPI features in the CMake build system

This PR fixes a condition statement that would always evaluate to true due to a typo in the CMake build system. Now, when relaunching CMake, the cached variables for the MPI features are no longer discarded when the variable SC_ENABLE_MPI did not change. This allows the checks not to run again as intended and use the cached variables instead.

Closes #198