#1672 dune-grid: CMakeLists.txt for VTK tests broken when MPI is not found
Metadata
Property | Value |
---|---|
Reported by | Felix Gruber (gruber@igpm.rwth-aachen.de) |
Reported at | Jun 19, 2015 09:28 |
Type | Bug Report |
Version | Git (pre2.4) [cmake] |
Operating System | Unspecified / All |
Last edited by | Dominic Kempf (dominic.r.kempf@gmail.com) |
Last edited at | Jun 19, 2015 09:31 |
Closed by | Dominic Kempf (dominic.r.kempf@gmail.com) |
Closed at | Jun 19, 2015 09:31 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | Applied. Thanks for the patch! |
Description
The latest change to dune-grid unconditionally added a test property to the test target mpivtktest, which is only created when MPI_FOUND is true. The attached patch adds this test property only when mpivtktest exists to prevent cmake errors when compiling dune-grid without MPI.