Prevent a failure to build when building without the git package being installed; cmake rules to describe the release leave VERSION_DISTANCE incorrectly unset which leaves the function returning void rather than int.
unsigned int version_distance() { return @VERSION_DISTANCE@; }
unsigned int version_distance() { return ;}
(I'm not convinced that this is the most elegant fix, but it is effective...!)
Prevent a failure to build when building without the git package being installed; cmake rules to describe the release leave VERSION_DISTANCE incorrectly unset which leaves the function returning void rather than int.
unsigned int version_distance() { return @VERSION_DISTANCE@; }
unsigned int version_distance() { return ;}
(I'm not convinced that this is the most elegant fix, but it is effective...!)