Reorganize CMake version information management
[alexxy/gromacs.git] / src / gromacs / version.h.cmakein
index 179457e8f3abf326a762c799712dee6662dd00a5..667ca1399155cf726d8460b65778c850755f99ef 100644 (file)
@@ -92,7 +92,7 @@
  * For 4.6 and 5.0 (and likely for some time in the future as well), this
  * tracks the exact \Gromacs version.
  */
-#define GMX_API_VERSION @API_VERSION@
+#define GMX_API_VERSION @GMX_API_VERSION@
 
 /*! \brief
  * Exact \Gromacs version of this set of headers.
  * This specifies the version number of the actual \Gromacs library that
  * installed these headers.
  */
-#define GMX_VERSION @NUM_VERSION@
+#define GMX_VERSION @GMX_VERSION_NUMERIC@
 
 #endif