sync mapnik-index and shapeindex versions with mapnik via MAPNIK_VERSION_STRING

This commit is contained in:
artemp 2017-02-27 13:22:55 +01:00
parent 147313af55
commit 3eabd3141a
2 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include <fstream> #include <fstream>
#include <mapnik/version.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <mapnik/quad_tree.hpp> #include <mapnik/quad_tree.hpp>
@ -96,7 +96,7 @@ int main (int argc, char** argv)
if (vm.count("version")) if (vm.count("version"))
{ {
std::clog << "version 1.0.0" << std::endl; std::clog << "version " << MAPNIK_VERSION_STRING << std::endl;
return 1; return 1;
} }
if (vm.count("help")) if (vm.count("help"))

View file

@ -23,6 +23,7 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <string> #include <string>
#include <mapnik/version.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <mapnik/quad_tree.hpp> #include <mapnik/quad_tree.hpp>
#include <mapnik/geometry/envelope.hpp> #include <mapnik/geometry/envelope.hpp>
@ -70,7 +71,7 @@ int main (int argc,char** argv)
if (vm.count("version")) if (vm.count("version"))
{ {
std::clog << "version 0.3.0" <<std::endl; std::clog << "version " << MAPNIK_VERSION_STRING << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }