]> granicus.if.org Git - graphviz/commitdiff
Replace hard-coded MSBuild version with generated
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 25 Jul 2020 17:34:49 +0000 (19:34 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 28 Jul 2020 15:54:16 +0000 (17:54 +0200)
Fixes https://gitlab.com/graphviz/graphviz/-/issues/1745

windows/include/config.h

index 2427154436ccf1c6920eeebf71308e7b390c4897..df87daf1dd250b15d21627982eb95c2f9bd19bff 100644 (file)
@@ -1,5 +1,9 @@
 /* manually generated configuration for Windows */
 
+/* Include generated files */
+#include "builddate.h"
+#include "version.h"
+
 /* Command to open a browser on a URL */
 #define BROWSER "xdg-open"
 
 #define PACKAGE_NAME "graphviz"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "graphviz 2.45.2020????.???? (2020????.????)" /* FIXME: https://gitlab.com/graphviz/graphviz/-/issues/1745 */
+#define PACKAGE_STRING VERSION "(" BUILDDATE ")"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "graphviz"
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.45.2020????.????" /* FIXME: https://gitlab.com/graphviz/graphviz/-/issues/1745 */
+#define PACKAGE_VERSION VERSION
 
 /* Path separator character. */
 #define PATHSEPARATOR ":"