Commit ecffa10c authored by Steffen Müthing's avatar Steffen Müthing

[CMake] add version defines to the config.h.cmake

When checking for a certain dune-typetree version using
DUNE_VERSION_NEWER, the defines where not present and
the makro did not work.

Kudos to Andreas Nüßing for noticing the problem and providing a patch
for PDELab.
parent 1800ce2f
......@@ -27,6 +27,18 @@
/* end private */
/* Define to the version of dune-pdelab */
#define DUNE_TYPETREE_VERSION "${DUNE_TYPETREE_VERSION}"
/* Define to the major version of dune-pdelab */
#define DUNE_TYPETREE_VERSION_MAJOR ${DUNE_TYPETREE_VERSION_MAJOR}
/* Define to the minor version of dune-pdelab */
#define DUNE_TYPETREE_VERSION_MINOR ${DUNE_TYPETREE_VERSION_MINOR}
/* Define to the revision of dune-pdelab */
#define DUNE_TYPETREE_VERSION_REVISION ${DUNE_TYPETREE_VERSION_REVISION}
/* Define to 1 if std::initializer_list is supported. */
#cmakedefine HAVE_INITIALIZER_LIST 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment