Skip to content
  • Rafael Kitover's avatar
    fix error and version info in shallow git clones · 52439cee
    Rafael Kitover authored
    Fix `cmake/GitTagVersion.cmake` to not throw errors when in a shallow
    git clone, or any git clone that has no tags.
    
    And when either git or git tag version info is not available, set the
    version variables to the defaults, which are:
    
    ```
    VERSION         = '2.0.0'
    REVISION        = 'unknown'
    VERSION_RELEASE = 0
    ```
    52439cee