Closed cryptomilk closed 5 years ago
Hmm, this doesn't actually work for me. I poked into the exiv2 header files and found the following:
version.hpp
exists, so it reads the contents into EXIV2_VERSION_CONTENT
.
It reads this and finds EXIV2_MAJOR_VERSION
, and thus setting EXIV2_MAJOR_FOUND
> 0.
That's true, so it sets EXIV2_VERSION_STRING_FOUND
.
However, from that point, it reads in exv_conf.h
and tries to read major, minor, and patch versions from that. But exv_conf.h
doesn't have the major, minor, and patch versions listed separately, it has the version listed straight up under EXV_PACKAGE_VERSION
as 0.25, missing the patch number.
Instead it should be reading these in from version.hpp
.
In line 62 there is a NOT missing
if (NOT ...
Fixed.
Fixes #87