GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

Fix git-stripped case #242

Closed mathomp4 closed 2 years ago

mathomp4 commented 2 years ago

There is a chance you could be in a git-stripped tarball. This change means the CMake step will not error out. That case is then covered upstream in the place that uses this macro.

Note: We only use the _WC_LATEST_TAG bit of this code, so that's what I 'protect' by setting it to a blank string.