]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Silence a warning about HDF5_ROOT containing NOTFOUND 14724/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 25 Jan 2023 03:01:03 +0000 (21:01 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 25 Jan 2023 03:01:03 +0000 (21:01 -0600)
commitec64fca705a5e677d7cdc309a75173fc1a946e0a
treeb1f35031c0aa0b05b491ac4b4aee7aa9fc06df6b
parentbccb4bea7a2c664a5489b445c085c249055d84bb
CMake: Silence a warning about HDF5_ROOT containing NOTFOUND

The FindHDF5.cmake package might set HDF5_DIR to "HDF5_DIR-NOTFOUND"
(even though it finds and configures an HDF5 installation without a
problem). This isn't terribly elegant, but us setting HDF5_ROOT to that
variable triggers a bogus warning.

Thus filter the invalid name.
cmake/modules/FindDEAL_II_HDF5.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.