Pass build info into the version string

This commit is contained in:
Erica Fischer
2024-08-16 13:43:31 -07:00
parent bc59c6ba84
commit 4bdb8edda2
4 changed files with 17 additions and 5 deletions
+1 -2
View File
@@ -49,7 +49,6 @@
#include "tile.hpp"
#include "pool.hpp"
#include "projection.hpp"
#include "version.hpp"
#include "memfile.hpp"
#include "main.hpp"
#include "geojson.hpp"
@@ -3608,7 +3607,7 @@ int main(int argc, char **argv) {
}
case 'v':
fprintf(stderr, "tippecanoe %s\n", VERSION);
fprintf(stderr, "tippecanoe %s\n", version_str().c_str());
exit(EXIT_SUCCESS);
case 'P':